-
Multiple indexes are specified. When the "error" keyword appears in multiple indexes at the same time, only one is matched and then an alarm is sounded. What I want is to match multiple indexes at the same time and sound an alarm in sequence. config: es_host: xxx type: "frequency" filter: query: timeframe: realert: timestamp_field: "@timestamp" alert_text_type: alert_text_only alert: "dingtalk" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
https://elastalert2.readthedocs.io/en/latest/ruletypes.html#index |
Beta Was this translation helpful? Give feedback.
By attempting to combine them into a single rule it causes the re-alert to prevent the second event from alerting. So if you are suggesting that both indices receive an event at the same time, and you want both alerts to be sent then you have two options:
_index
field as a query key. I've not tried this but perhaps it could work.