Skip to content
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

Ability to specify when a filter/aggregation event is evaluated #12364

Open
patrickmann opened this issue Mar 28, 2022 · 1 comment
Open

Ability to specify when a filter/aggregation event is evaluated #12364

patrickmann opened this issue Mar 28, 2022 · 1 comment

Comments

@patrickmann
Copy link
Contributor

patrickmann commented Mar 28, 2022

What?

Add an optional evaluation time-of-day field to the filter/aggregation definition.

  • Default is the event creation time
  • Event evaluation is scheduled at this time, instead of implicitly at the creation time.
  • Field needs to be persisted so it can be included in content packs

Why?

The definition of a filter/aggregation event includes the frequency at which it is evaluated. However, you cannot specify when to start, i.e. at what time the filter/aggregation conditions will be evaluated. We simply start evaluation as soon as the event is defined.

This behavior makes it difficult to e.g. ensure correlated events are run in a specific order. In particular: when events are defined via a content pack, they are essentially all created at the same time.

Your Environment

  • Graylog Version: 4.3
@coffee-squirrel
Copy link

It'd be nice if this also covered expressing when the event definition applies / is active. We have some cases where the day and time matter (severity, etc.), and are currently falling back to pipelines to implement that logic; it'd be nice to eliminate that stuff in favor of something like a cron expression on the event definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants