# Can i monitor my Logstash containers using APM?

**URL:** <https://discuss.elastic.co/t/can-i-monitor-my-logstash-containers-using-apm/197839>\
**Category:** APM\
**Created:** [September 3, 2019, 11:42am UTC](https://discuss.elastic.co/t/can-i-monitor-my-logstash-containers-using-apm/197839 "2019-09-03T11:42:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maheswari](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@Maheswari](https://discuss.elastic.co/u/Maheswari)\
**Post date:** [September 3, 2019, 11:42am UTC](https://discuss.elastic.co/t/can-i-monitor-my-logstash-containers-using-apm/197839/1 "2019-09-03T11:42:33Z")

</div>

Hi,

I have my elasticsearch , kibana and Logstash installed.

I wanted to monitor my logstash containers(running pipelines) using APM.

i have installed APM Server and linked to elasticsearch and kibana.

But i am not getting which APM agent i should use to monitor docker containers and how to configure it.

Kindly please help me in implementing this.

Thank you.

---

<div class="post-metadata">

**Author:** ![Alsheh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alsheh/32/36799_2.png) [@Alsheh](https://discuss.elastic.co/u/Alsheh)\
**Post date:** [September 3, 2019, 10:42pm UTC](https://discuss.elastic.co/t/can-i-monitor-my-logstash-containers-using-apm/197839/2 "2019-09-03T22:42:08Z")

</div>

Logstash can be monitored natively with X-Pack monitoring in Kibana. Most likely you just need to set `xpack.monitoring.collection.enabled` to `true` in `logstash.yml` but [see how to configure monitoring for Logstash](https://www.elastic.co/guide/en/logstash/current/configuring-logstash.html). Also see:

- [Logstash Monitoring UI](https://www.elastic.co/guide/en/logstash/current/logstash-monitoring-ui.html)
- [How monitoring works](https://www.elastic.co/guide/en/elastic-stack-overview/7.3/how-monitoring-works.html)

---

<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:** [September 24, 2019, 6:42pm UTC](https://discuss.elastic.co/t/can-i-monitor-my-logstash-containers-using-apm/197839/3 "2019-09-24T18:42:08Z")

</div>

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