cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

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
  • Subscription Service Notification (SNS)
  • How-to: Endpoint Removal Tool
  • Support: Endpoint Security
  • eSupport: Policy Orchestrator
  • Community Help Hub

      New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

    • Find Forum FAQs
    • Learn How to Earn Badges
    • Ask for Help
    Go to Community Help

    Join the Community

      Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

    • Get helpful solutions from McAfee experts.
    • Stay connected to product conversations that matter to you.
    • Participate in product groups led by McAfee employees.
    Join the Community
    Join the Community