Need help with filter (seems to be picking up all values not just the two desired) #1396
-
This is my filter:
I successfully received an alert with the Also I am receiving this error in my docker logs:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Backslashes in quoted strings need to be escaped. Ex: There are many existing docs and forums online that explain how to write an OR filter for Elasticsearch. |
Beta Was this translation helpful? Give feedback.
You may need to specify
minimum_should_match: 1
. Alternatively, consider writing the query using aquery_string
format, similar to your example above.The Elastic community will be better able to assist with writing complex queries.