What can be the query for this statement in Elasticsearch DSL

I am trying to have this query in elasticsearch
statement: (ip=xx.xx.xx.xx and status="running") or (ip=xx.xx.xx.xx and status="running")
can anyone tell me how can i write this in elasticsearch.

Your or statements match. Is that a typo?

(ip=xx.xx.xx.xx and status="running") or (ip=xx.xx.xx.xx and status="running")

Aniket,
post what you have done so far and someone might be able to tell you how to write it.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.