# Metricbeat monitoring logstash via kubernetes service endpoint issues

**URL:** https://discuss.elastic.co/t/metricbeat-monitoring-logstash-via-kubernetes-service-endpoint-issues/309064
**Category:** Beats
**Tags:** metricbeat
**Created:** [July 7, 2022, 1:59am UTC](https://discuss.elastic.co/t/metricbeat-monitoring-logstash-via-kubernetes-service-endpoint-issues/309064 "2022-07-07T01:59:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![aaronpjak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaronpjak/32/100324_2.png) [@aaronpjak](https://discuss.elastic.co/u/aaronpjak)
#### Post date: [July 7, 2022, 1:59am UTC](https://discuss.elastic.co/t/metricbeat-monitoring-logstash-via-kubernetes-service-endpoint-issues/309064/1 "2022-07-07T01:59:18Z")

</div>

Hi,

I am trying to use metricbeat to monitor my logstash instances. I have logstash deployed using the official helm chart and I am running multiple logstash pods behind the kubernetes service. When I use the service endpoint in the hosts section of the metricbeat logstash module, I only get monitoring data on one of the containers but not all. Is there anyway around this and is there any way to see the data for all containers behind the service endpoint?

Thankyou!

---

<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: [August 4, 2022, 3:59am UTC](https://discuss.elastic.co/t/metricbeat-monitoring-logstash-via-kubernetes-service-endpoint-issues/309064/2 "2022-08-04T03:59:22Z")

</div>

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