# Clustering logstash 5

**URL:** <https://discuss.elastic.co/t/clustering-logstash-5/70813>\
**Category:** Logstash\
**Created:** [January 6, 2017, 7:58pm UTC](https://discuss.elastic.co/t/clustering-logstash-5/70813 "2017-01-06T19:58:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jstar](https://avatars.discourse-cdn.com/v4/letter/j/ba8739/32.png) [@jstar](https://discuss.elastic.co/u/jstar)\
**Post date:** [January 6, 2017, 7:58pm UTC](https://discuss.elastic.co/t/clustering-logstash-5/70813/1 "2017-01-06T19:58:48Z")

</div>

Hi Everybody,

I wanted to know if it is possible to install logstash 5 as a cluster?

Thanks.

---

<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:** [January 6, 2017, 11:00pm UTC](https://discuss.elastic.co/t/clustering-logstash-5/70813/2 "2017-01-06T23:00:52Z")

</div>

It is not.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [January 8, 2017, 4:29pm UTC](https://discuss.elastic.co/t/clustering-logstash-5/70813/3 "2017-01-08T16:29:06Z")

</div>

> I wanted to know if it is possible to install logstash 5 as a cluster?

That depends on exactly what you mean by cluster. Can Logstash instances talk to each other and seamlessly work together (similar to Elasticsearch)? No. Can Logstash instances consume messages from the same input sources? It depends.

---

<div class="post-metadata">

**Author:** ![jstar](https://avatars.discourse-cdn.com/v4/letter/j/ba8739/32.png) [@jstar](https://discuss.elastic.co/u/jstar)\
**Post date:** [January 17, 2017, 2:10pm UTC](https://discuss.elastic.co/t/clustering-logstash-5/70813/4 "2017-01-17T14:10:36Z")

</div>

@magnusbaeck Thanks for the reply. Sorry for the delay, I had something vzery urgent to handle.

> [@magnusbaeck](#):
>
> Can Logstash instances talk to each other and seamlessly work together (similar to Elasticsearch)?

Yes indeed I wanted something similar to Elasticsearch.

> [@magnusbaeck](#):
>
> Can Logstash instances consume messages from the same input sources?

This sounds interesting, Please can you explain more?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [January 17, 2017, 2:15pm UTC](https://discuss.elastic.co/t/clustering-logstash-5/70813/5 "2017-01-17T14:15:42Z")

</div>

> This sounds interesting, Please can you explain more?

Logstash has several input plugins for pulling messages from brokers like Kafka, RabbitMQ, and Redis. If multiple Logstash instances are configured to consume from the same queue on the broker side the flow won't stop even if one of more Logstash instances are disabled.

---

<div class="post-metadata">

**Author:** ![jstar](https://avatars.discourse-cdn.com/v4/letter/j/ba8739/32.png) [@jstar](https://discuss.elastic.co/u/jstar)\
**Post date:** [January 17, 2017, 2:21pm UTC](https://discuss.elastic.co/t/clustering-logstash-5/70813/6 "2017-01-17T14:21:41Z")

</div>

@magnusbaeck, Many thanks. Then I will used this idea as a workaround.

---

<div class="post-metadata">

**Author:** ![panaman](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@panaman](https://discuss.elastic.co/u/panaman)\
**Post date:** [January 17, 2017, 8:41pm UTC](https://discuss.elastic.co/t/clustering-logstash-5/70813/7 "2017-01-17T20:41:04Z")

</div>

you could load balance multiple logstash instances with haproxy

---

<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:** [February 14, 2017, 8:41pm UTC](https://discuss.elastic.co/t/clustering-logstash-5/70813/8 "2017-02-14T20:41:09Z")

</div>

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