Yelp / elastalert

Easy & Flexible Alerting With ElasticSearch
https://elastalert.readthedocs.org
Apache License 2.0
8k stars 1.73k forks source link

consecutive 5xx rule matches without any other 2xx or 3xx responses in between particular time frame then trigger alert #3292

Open vishalk663 opened 1 year ago

vishalk663 commented 1 year ago

Hi All,

I am trying to setup alerting using elastalert and I am trying to achieve below scenarios.

scenario 1: Send alert if there are 5 consecutive 5xx errors. (Which is working fine)

scenario 2: Do not send alert if we get any 2xx or success between 5 5xx errors.

How to do this in elasalert ?