jertel / elastalert2

ElastAlert 2 is a continuation of the original yelp/elastalert project. Pull requests are appreciated!
https://elastalert2.readthedocs.org
Apache License 2.0
859 stars 277 forks source link

The rules matched, but for some reason they were silenced #1487

Closed wangchao732 closed 2 weeks ago

wangchao732 commented 2 weeks ago
          If you don't want it silenced, why do you specify realert of 1 hour?

image

Also, please read #11 and format your messages appropriately. It's difficult to read them without proper formatting.

Originally posted by @jertel in https://github.com/jertel/elastalert2/issues/1484#issuecomment-2205732407

wangchao732 commented 2 weeks ago

@jertel And not as you understand, yesterday by execution bin/elastalert-test-rule rules/prod.yaml --config config.yaml --alert Successfully received the alert message. But bin/python3 -m elastalert.elastalert --config config.yaml --verbose isn't received the alert message. image

Today test again, try to delete elastalert_statussilence doc. Start and Successfully received the alert message. delete all index elastalert ,Recreate elastalert_ index with bin/elastalert-create-index, Start and Successfully received the alert message.

So, I don't know exactly what the problem is, but it looks healthy after rebuilding by removing the index at the moment.

jertel commented 2 weeks ago

Please read #11 and avoid creating issues when requesting support.