# Multiple Logstash

**URL:** <https://discuss.elastic.co/t/multiple-logstash/105342>\
**Category:** Elasticsearch\
**Created:** [October 26, 2017, 5:48am UTC](https://discuss.elastic.co/t/multiple-logstash/105342 "2017-10-26T05:48:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![santhosh244](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@santhosh244](https://discuss.elastic.co/u/santhosh244)\
**Post date:** [October 26, 2017, 5:48am UTC](https://discuss.elastic.co/t/multiple-logstash/105342/1 "2017-10-26T05:48:28Z")

</div>

Friends,

My Setup: Have 50+ application servers which generates huge logs and filebeat ships them to multiple LS nodes and then gets shipped into 1 ES node[6 node on ES cluster =\> 5 data nodes and 1 client node]

Version of Components:  
elasticsearch-5.5.2 , logstash-2.4.1,kibana-5.5.2-linux-x86\_64, filebeat-1.2.0-1.x86\_64/ filebeat-5.4.0-1.x86\_64

All data flows via filebeat =\> respective logstash =\> 1 ES client node (then to ELK cluster)

We totally have 3 logstash load balancing all 50 application servers. Instead of sending to one ES client node can i sent to multiple ES data nodes? is that possible? How can i measure the ingest rate of ES and logstash easily.

---

<div class="post-metadata">

**Author:** ![A\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_b/32/17104_2.png) [@A\_B](https://discuss.elastic.co/u/A_B)\
**Post date:** [October 26, 2017, 7:02am UTC](https://discuss.elastic.co/t/multiple-logstash/105342/2 "2017-10-26T07:02:47Z")

</div>

> Instead of sending to one ES client node can i sent to multiple ES data nodes? is that possible?

Yes it is possible. See

> **[Elasticsearch output plugin | Logstash Reference \[8.11\] | Elastic](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-hosts)**

There's probably many ways to measure and monitor ingest rates but for ES I usually look at Kibana's monitoring page which comes with the free version of x-pack

> **[Monitoring Elasticsearch | X-Pack for the Elastic Stack \[5.6\] | Elastic](https://www.elastic.co/guide/en/x-pack/5.6/monitoring-cluster.html)**

Looks like it offers Logstash monitoring as well.

-AB

---

<div class="post-metadata">

**Author:** ![santhosh244](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@santhosh244](https://discuss.elastic.co/u/santhosh244)\
**Post date:** [October 30, 2017, 5:29am UTC](https://discuss.elastic.co/t/multiple-logstash/105342/3 "2017-10-30T05:29:18Z")

</div>

Thanks A\_B for the reference links.

Before pointing to multiple ES nodes i would prefer to monitor the ES ingest rate so that i can compare the performance metrics. As said above will use free version of X-pack and test in replica setup and then install in production.

---

<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 27, 2017, 5:29am UTC](https://discuss.elastic.co/t/multiple-logstash/105342/4 "2017-11-27T05:29:30Z")

</div>

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