News for hackers. Stuff that matters.
Re:Simple Alerting for the ELK Stack by be_erik on Sunday April 24, 2016 @01:14PM (#11560449)
Is anyone running this in production and care to share their experiences? This seems to be a pretty good replacement for Splunk's alerting mechanisms in the ELK stack, which has always been one of the parts I miss the most.
Re:Simple Alerting for the ELK Stack by sciurus on Sunday April 24, 2016 @01:51PM (#11560606)
FWIW the company behind Elasticsearch is happy to sell you a solution for that: https://www.elastic.co/products/watcher
Re:Simple Alerting for the ELK Stack by tzakrajs on Sunday April 24, 2016 @02:14PM (#11560678)
I am using it right now in production. It's worst trait is that it is not clustered and does not share state about what alerts have been sent already. This means you can have no more than one agent running without having duplication of alerts. This also complicates high-availability for obvious reasons.
Re:Simple Alerting for the ELK Stack by tzakrajs on Tuesday April 26, 2016 @02:09PM (#11574237)
(Correction/Public Shaming: Its)
Re:Simple Alerting for the ELK Stack by yahyaheee on Sunday April 24, 2016 @09:04PM (#11562048)
My biggest issue with this was that it is purely event driven. So what if your trying to alert on no event? They had no answer for that
Re:Simple Alerting for the ELK Stack by bogomipz on Sunday April 24, 2016 @10:22PM (#11562273)
Right. This is something you can get quite easily using Riemann.
Re:Simple Alerting for the ELK Stack by ApsOps on Sunday April 24, 2016 @01:19PM (#11560471)
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.
Re:Simple Alerting for the ELK Stack by be_erik on Sunday April 24, 2016 @01:50PM (#11560600)
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?
Re:Simple Alerting for the ELK Stack by ApsOps on Sunday April 24, 2016 @03:54PM (#11561075)
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.