Yelp / elastalert

Easy & Flexible Alerting With ElasticSearch
https://elastalert.readthedocs.org
Apache License 2.0
7.97k stars 1.73k forks source link

update rule, old rule didn't silence forever #3246

Closed Jifulong closed 2 years ago

Jifulong commented 2 years ago

when i update a rule, the old rule didn't silence forever, the old and the new continue to hit; rule in rules_folder is new, the old rule still hits in es index image 12D6FE6E-F5F4-446E-9BF2-CBDF8C2F4F56 And now i delete the new rule , the old rule continue to hit 20220427171844

the problem seems like old rule didn't deleted in elastalert's rule_list; "self.scheduler.modify_job(job_id=rule['name'], next_run_time=rule['next_starttime'])" did not active...

Thank you in advance.

nsano-rururu commented 2 years ago

https://github.com/jertel/elastalert2/discussions

nsano-rururu commented 2 years ago

Please close.