# Monitor logstash

**URL:** <https://discuss.elastic.co/t/monitor-logstash/303799>\
**Category:** Logstash\
**Created:** [May 3, 2022, 4:32am UTC](https://discuss.elastic.co/t/monitor-logstash/303799 "2022-05-03T04:32:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bleedgreen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bleedgreen/32/105160_2.png) [@bleedgreen](https://discuss.elastic.co/u/bleedgreen)\
**Post date:** [May 3, 2022, 4:32am UTC](https://discuss.elastic.co/t/monitor-logstash/303799/1 "2022-05-03T04:32:35Z")

</div>

Hi All,

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:

:9600/\_node/stats/pipelines?pretty

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 31, 2022, 4:32am UTC](https://discuss.elastic.co/t/monitor-logstash/303799/2 "2022-05-31T04:32:47Z")

</div>

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