Elastalert to send alert when particular Exception comes

Hi I had setup of ELK stack on dev hosts,

I have installed http://elastalert.readthedocs.org/en/latest/index.html to get alerts,

but could not able to write rule file , which send alert if some exception is seen in logs

ex: if java.lang.OutOfMemoryError is seen in logs(elastic search ) I want alert mail to my email id,

Could any please help me to write rule file for my requirement .

1 Like


this forum is about watcher (a plugin written and maintained by elastic) and not elastalert, which is not affiliated with elastic. You might have more luck checking out, if there is dedicated forum for elastalert (not on http://discuss.elastic.co) or ask questions on the Ecosystem Discuss Group.