Hacker News new | ask | show | jobs
by ApsOps 3711 days ago
I have been running this. It works well. I also wrote some custom code to send the stack-traces, if we get any, to a slack channel.
1 comments

That sounds fantastic. Do you have an example of how you extracted the trace? Was it simple to extend ElastAlert or did you have to fork it to add that kind of option?
The trace is basically extracted using Logstash's multiline filter. It adds a tag "stacktrace" to the log entry.

I just made a few changes in SlackAlerter class to customize for my use-case. I'd try to clean-up and send a PR soon.