bool operations not working #390
-
Hello Jertel, Expecting: match 2 events/logs, one is 8.8.8.8 (google) ping up and 2nd event/log is tcp port down.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You probably want to use |
Beta Was this translation helpful? Give feedback.
You probably want to use
should
instead ofmust
on the outer bool block. As you have it written now it is requiring both monitor.name = GOOGLE AND monitor.name = tcp, which is impossible. Study this blog post to better understand the bool concept: https://www.elastic.co/blog/lost-in-translation-boolean-operations-and-filters-in-the-bool-query