-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Elastalert to notify us when "Service are back online" #1919
Comments
Roughly, something like this:
IE, "Alert if 'Service Down' hasn't alerted in at least 70 minutes". forget_keys will cause it to only alert once after the 'service down' alerts stop, until it happens again. |
Thank you for the quick answer! I like the emphasis on the "slightly less convoluted". So I see how this would work but there is one big problem : See how I am using a triplet for the fields?
While I was looking at the |
Hi, |
up |
I created a
flatline
type rule that sends an email when there is no more incoming message from a triplet that represent one of our service (this one works) :Now I need to create an alarm to notify us when this service is back online.
I thought I'd be smart with creating a
new_term
withterm_window_size
that matches thetimeframe
of theflatline
alarm:Obviously, I'm either misunderstanding something or at least misusing it because the first alarm is working great on all services but the second one only triggers when it is first added to the rules folder. There is 0 match and the rule isn't silenced.
What am I doing wrong? Is there a less convoluted way to achieve this?
The text was updated successfully, but these errors were encountered: