elastalert icon indicating copy to clipboard operation
elastalert copied to clipboard

Alert only during certain times

Open fatalglitch opened this issue 8 years ago • 4 comments

Is there a built in method to setup alerting to only occur during specific hours? Ie. I want to only alert on query results from 7pm - 7am daily?

fatalglitch avatar Jul 23 '18 17:07 fatalglitch

This feature should be added in this PR #1298

lsoumille avatar Jul 26 '18 18:07 lsoumille

Is there are a time scale for when scheduled rule execution will be implemented?

kernelpanicfbsd avatar Aug 15 '18 23:08 kernelpanicfbsd

+1

@kernelpanicfbsd @fatalglitch Did you manage to find a workaround? I'm wondering if we need to copy the rules into the folder at certain times of day and then remove them when we don't want them to work. Seems a bit primitive, though.

goochjs avatar Feb 22 '19 12:02 goochjs

@goochjs I found a workaround by creating an enhancement if this still interest you : https://github.com/0x-29A/elastalert_hour_range

0xSeb avatar Aug 27 '19 21:08 0xSeb