3 ms·
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.
by ApsOps 10y 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.
- be_erik 10y agoThat 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?
- ApsOps 10y agoThe 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.