-
|
Firstly, I really appreciate all the work gone into this tool! Thank you @jertel and all contributors! I'm trying to accomplish an alert that will give me an aggregation summary table, along with a Kibana discover URL and neither of these two things are working. I've gone up and down through the documentation and discussions and am still scratching my head. I feel like I've done everything correctly - Clearly I'm doing something incorrectly. I was originally using Elastalert2 2.20.0 (bundled with CISA's Logging Made Easy) when I first encountered both issues, and have since grabbed a fresh 2.26.0 container from GHCR and set up my same rule in there, and have encountered the same behavior. The two issues:
See attached image of example alert: Here's the entirety of my rule (aside from my email server settings): |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
|
The reason you're only getting one match included in the alert is because of the timing configurations within your rule. You have With this configuration you'll get up to 60 matches per alert. Or, remove the |
Beta Was this translation helpful? Give feedback.



The reason you're only getting one match included in the alert is because of the timing configurations within your rule. You have
realertset to silence alerts for a full minute after encountering a match. And then you haveaggregationset for a 1 minute window as well. So you're defeating the purpose of the aggregation by using a matchingrealertsetting. Try using a realert window that is shorter than the aggregation window:With this configuration you'll get up to 60 matches per alert. Or, remove the
realertaltogether from both the config.yaml and your rule to get every match.