Skip to content

Something wrong with the rules #1298

Closed Locked Answered by jertel
baiyibing123 asked this question in Q&A
Discussion options

You must be logged in to vote

num_matches only includes the count in the current rule run. Since your spike of events spanned several minutes, the rule run that triggered the alert found 18 matches. Internally, ElastAlert 2 added this 18 to the previous rule run matches (from the previous few minutes) and that total exceeded the 100 num_events value, so it sent the alert.

Again, num_matches is only showing the current query matches, not the combined queries from previous runs.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@baiyibing123
Comment options

@baiyibing123
Comment options

@baiyibing123
Comment options

@jertel
Comment options

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 #1295 on October 17, 2023 10:54.