I have a logstash instance with input plugin with different input plugin (kafka,syslog, file)
I want to monitor and detect when and event cannot be published to a target . Say for example a connection with syslog is not established or I don't have write permission to write to file path in file system.
I want to be able to get the status of logstash operations (again for example connection to syslog , event publishing to/from kafka) for monitoring app I building.
I can query logstash logs (but I don't think it is the appropriate way)
I also tried to use the logstash monitoring API:
But no API gives me the connection status is off or the reasons why I cannot write event to file
Is there a way to get the status of logstash output/input plugins at runtime?
Thank you in advance