cancel
Showing results for 
Search instead for 
Did you mean: 

EsmFilterGroup

Hi,

I'm doing a query search with the EsmFilterGroup. However, the correct results is not returning, I'm only getting the first filter, the logic "AND" is not being applied. Could someone kindly assist me with the flow.

 

   {
                            "type": "EsmFilterGroup",
                            "filters":  [{
                                "type": "EsmFieldFilter",
                                "field": {
                                "name": "From"},
                                "operator": "EQUALS",
                                "values": [{
                                    "type": "EsmBasicValue",
                                    "value": emailFrom
                                }]
                            }], 
                            "logic": "AND",
                            "filters":  [{
                                "type": "EsmFieldFilter",
                                "field": {
                                "name": "To"},
                                "operator": "EQUALS",
                                "values": [{
                                    "type": "EsmBasicValue",
                                    "value": emailTo
                                }]
                            }],  
    }

Thank you.

More McAfee Tools to Help You
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • Visit: Business Service Portal
  • More: Search Knowledge Articles
  • ePolicy Orchestrator Support

    • Download the new ePolicy Orchestrator (ePO) Support Center Extension which simplifies ePO management and provides support resources directly in the console. Learn more about ePO Support Center