Powershell the events stats logstash

I wonder if you can help,

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.

You want to restart Logstash just because it's processing fewer events than X minutes ago?

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?

I do have logstash pinging redis every 30 seconds.

What do you mean by this?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.