Replies: 1 comment 12 replies
-
I'm unable to reproduce this. The following rule and config does not trigger an alert, as expected:
However, this rule and config does, correctly, trigger an alert:
I'm also attaching the CSV I used to create that index. And the debug log showing the details of what's going on for the first 6+ minutes. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the same issue. Here is my rule:
And my kibana result:
We can see that I have one log every single minute. Meanwhile, the alert is triggered (flatline less than 1 in a timeframe of 5 minutes). The interesting thing is the alert is triggered when I set my elastalert config as:
But the alert will be triggered only if the flatline is confirmed (i.e no log at all in the last 5 minutes, the rule works as expected), when I change it to:
expected behavior
run_every: minutes: 1
5 hits on a
timeframe
of 5 minutes so no flatline (number of hits < 1) -> alert is not triggeredrun_every: minutes: 3
5 hits on a
timeframe
of 5 minutes so no flatline (number of hits < 1) -> alert is not triggeredBeta Was this translation helpful? Give feedback.
All reactions