Skip to content

Test Rule question #496

Closed Locked Answered by jertel
roman-tasi asked this question in Q&A
Oct 5, 2021 · 3 comments · 5 replies

You must be logged in to vote

Since your query is a simple string containing a series of common words, and not a literal value to a specified field, most likely Elastic is matching on any record that contains any of the following words:

  • A
  • user
  • account
  • was
  • locked
  • out.

As you can imagine it is going to hit on just about every single record in Elasticsearch. I suggest reading up on how to format Lucene queries. Start here: https://elastalert2.readthedocs.io/en/latest/recipes/writing_filters.html

Replies: 3 comments 5 replies

You must be logged in to vote
1 reply
@roman-tasi

You must be logged in to vote
0 replies

You must be logged in to vote
4 replies
@roman-tasi

@jertel

@roman-tasi

@jertel

Answer selected by jertel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #495 on October 05, 2021 01:03.