Has anyone build a powershell that connects to the logstash monitoring API to get events in stats and then checks whether the events in is less than what it was x minutes ago and if it is send a email and restart logstash.
The idea is to create an ELK stack that is somewhat foolproof without spending money.
I would like to be able to restart logstash if logstash has stopped processing any new events. I do have logstash pinging redis every 30 seconds. Is there a way I can use this to determine if no new events are being collected?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.