-
Notifications
You must be signed in to change notification settings - Fork 190
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
The max_signals field for rules can support up to 1000 alerts #3254
Comments
Adding the link to the discussion https://elastic.slack.com/archives/CN7AD3605/p1683741078780019 |
I think 8.8+ is appropriate; this change came from the feature work around per-alert actions
1000 seems like a reasonable limit, and there are workarounds if you (for some reason) need to generate a TON of alerts (i.e. run more frequently), so I don't imagine this changing in the near future. I think it's best to document the limitation so as not to confuse/surprise users, but I defer to @peluja1012 here. I wouldn't be opposed to adding API validation to enforce this (and serve as self-documentation) in the future, as well. |
I think it's worth documenting it as a known issue to further highlight the change in behavior. Although my hope is that we don't have too many users with a |
Hey, @e40pud - thanks for the additional information. I still have a few questions:
So basically, this field determines the max number of alerts a Security detection rule can generate in a single rule execution cycle. Once the limit is met, no more alerts are created during the rule’s execution window but the rule continues to execute on its defined schedule.
Couple questions here:
Does the last sentence still apply if the user selected the On each rule execution action frequency for a rule action created in 8.7 or ealier? Or does it for
Should the message be “Do not set a |
@nastasha-solomon here are the answers:
Correct
Yes,
Correct. Alerting framework does its own alerts count check against the
I think there might be a confusion here. It does not really matter if it is a "on each rule execution" or custom frequency (hourly, daily, weekly). "On each rule execution" means we would notify about all the alerts generated during last rule execution and timeframe will be the rule schedule interval in this case.
I would say something like: " |
@e40pud @peluja1012 updated docs for the |
Description
Will need to update the
max_signals
field description in the Create rule API docs to indicate that the max supported value is 1000, even if the API allows users to set any value.Related:
Notes/questions
max_signals
field (e.g., lower it back down to 100), this might need to be release-noted in 8.8.x.cc: @peluja1012
The text was updated successfully, but these errors were encountered: