# Logstash output for filebeat xpack monitoring

**URL:** https://discuss.elastic.co/t/logstash-output-for-filebeat-xpack-monitoring/153471
**Category:** Beats
**Tags:** filebeat
**Created:** [October 22, 2018, 7:32pm UTC](https://discuss.elastic.co/t/logstash-output-for-filebeat-xpack-monitoring/153471 "2018-10-22T19:32:21Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jgrevich](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jgrevich/32/31624_2.png) [@jgrevich](https://discuss.elastic.co/u/jgrevich)
#### Post date: [October 22, 2018, 7:32pm UTC](https://discuss.elastic.co/t/logstash-output-for-filebeat-xpack-monitoring/153471/1 "2018-10-22T19:32:21Z")

</div>

Is it possible to configure filebeat to send its monitoring metrics through logstash rather than have filebeat access the ES cluster directly?

I can't seem to figure out how to do this and the documentation seems to suggest that it needs to connect directly to the ES cluster.

---

<div class="post-metadata">

### Author: ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)
#### Post date: [October 23, 2018, 10:49am UTC](https://discuss.elastic.co/t/logstash-output-for-filebeat-xpack-monitoring/153471/2 "2018-10-23T10:49:18Z")

</div>

Right now filebeat monitoring only publishes to Elasticsearch. There is no data path via Logstash. For isolation/proxy purposes one can also setup nginx.

---

<div class="post-metadata">

### Author: ![jgrevich](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jgrevich/32/31624_2.png) [@jgrevich](https://discuss.elastic.co/u/jgrevich)
#### Post date: [October 26, 2018, 7:24pm UTC](https://discuss.elastic.co/t/logstash-output-for-filebeat-xpack-monitoring/153471/3 "2018-10-26T19:24:58Z")

</div>

Thanks Steffens. Let me make sure I understand what you're suggesting. Are you saying that a workaround is to use nginx or some form of a proxy on the logstash instance(s) to forward the requests to the ES cluster?

---

<div class="post-metadata">

### Author: ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)
#### Post date: [October 31, 2018, 9:57am UTC](https://discuss.elastic.co/t/logstash-output-for-filebeat-xpack-monitoring/153471/4 "2018-10-31T09:57:17Z")

</div>

Yes.

---

<div class="post-metadata">

### Author: ![jgrevich](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jgrevich/32/31624_2.png) [@jgrevich](https://discuss.elastic.co/u/jgrevich)
#### Post date: [October 31, 2018, 10:39am UTC](https://discuss.elastic.co/t/logstash-output-for-filebeat-xpack-monitoring/153471/5 "2018-10-31T10:39:48Z")

</div>

Got it, thanks!

---

<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: [November 28, 2018, 10:39am UTC](https://discuss.elastic.co/t/logstash-output-for-filebeat-xpack-monitoring/153471/6 "2018-11-28T10:39:53Z")

</div>

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