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. |
Answered by
jertel
Aug 6, 2021
Replies: 1 comment 2 replies
|
You probably want to use |
2 replies
Answer selected by
jertel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You probably want to use
shouldinstead ofmuston 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