# How can make a cluster with Logstash? Is it possible?!?

**URL:** <https://discuss.elastic.co/t/how-can-make-a-cluster-with-logstash-is-it-possible/250444>\
**Category:** Logstash\
**Created:** [September 30, 2020, 4:36am UTC](https://discuss.elastic.co/t/how-can-make-a-cluster-with-logstash-is-it-possible/250444 "2020-09-30T04:36:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Farid\_N](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/farid_n/32/74144_2.png) [@Farid\_N](https://discuss.elastic.co/u/Farid_N)\
**Post date:** [September 30, 2020, 4:36am UTC](https://discuss.elastic.co/t/how-can-make-a-cluster-with-logstash-is-it-possible/250444/1 "2020-09-30T04:36:25Z")

</div>

Hi  
I have 3 nodes for logstash. each logstash has it own pipeline  
(for example, one logstash has http module and some metricfiles. another one has two jdbc driver and some filebeats and....)  
So, I can`t use file and handle with "loadbalancing true" on the output of files...  
I just want to know, is there any solution to cluster all 3 logstash in order to failure tolerance or balancing?!?

I already read the bellow link:

> **[Deploying and Scaling Logstash | Logstash Reference \[7.9\] | Elastic](https://www.elastic.co/guide/en/logstash/current/deploying-and-scaling.html)**

Thank you so much

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 30, 2020, 4:43am UTC](https://discuss.elastic.co/t/how-can-make-a-cluster-with-logstash-is-it-possible/250444/2 "2020-09-30T04:43:53Z")

</div>

Logstash cannot cluster like that unfortunately.  
You could load balance inputs, behind a dedicated load balancer, but something like a file input is very difficult to do.

---

<div class="post-metadata">

**Author:** ![Farid\_N](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/farid_n/32/74144_2.png) [@Farid\_N](https://discuss.elastic.co/u/Farid_N)\
**Post date:** [September 30, 2020, 5:15am UTC](https://discuss.elastic.co/t/how-can-make-a-cluster-with-logstash-is-it-possible/250444/3 "2020-09-30T05:15:22Z")

</div>

Thank you so much

---

<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:** [October 28, 2020, 5:15am UTC](https://discuss.elastic.co/t/how-can-make-a-cluster-with-logstash-is-it-possible/250444/4 "2020-10-28T05:15:35Z")

</div>

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