-
Dears, Good news with this new elastalert2 Is it possible to have the count of event per query_key ( compound_key too ) here is my rules with alerta (work fine )
w-HA |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 17 replies
-
Moving to discussion since it doesn't meet the criteria for an issue. |
Beta Was this translation helpful? Give feedback.
-
dears, i have just tested new approach with metric_aggregation. It works very well and i have the count per multiple query_key I sent an alert to alerta only when value count > 50 metric_agg_key: req_alerta.keyword
Alert is sent when a match is foundalert:
w-HA |
Beta Was this translation helpful? Give feedback.
-
Hi I test now with Alert if number of event > 50min threshold : 20 Alert if number < 20but i would like to trigger the alert if number of events is > 20 and < 50 It seems it doesn't work (or not possible to do that ) Thanks for your help w-HA |
Beta Was this translation helpful? Give feedback.
-
hi i have just tested nsano rururu solution with some little syntax errors but il works fine !!! if metric_value is None: now i have it s very good solution side alerta to manage minor and major alert Thanks a lot !!!! |
Beta Was this translation helpful? Give feedback.
Moving to discussion since it doesn't meet the criteria for an issue.