Skip to content

run_every on frequency base #422

Closed Locked Answered by jertel
paul-mesnilgrente asked this question in Q&A
Discussion options

You must be logged in to vote

You can override the global run_every setting in each rule, so if you want to check rule every 5 minutes, but your global run_every is set to something higher, then add that config param to this rule's yaml.

For the "only alert once every 5 minutes", read up on the realert config parameter: https://elastalert2.readthedocs.io/en/latest/ruletypes.html?highlight=realert#realert. That's exactly why that param exists, and it too can be introduced into the rule yaml to override a global setting.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by paul-mesnilgrente
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants