Clustering logstash 5


(Josh Star Long) #1

Hi Everybody,

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

Thanks.


(Mark Walkom) #2

It is not.


(Magnus Bäck) #3

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.


(Josh Star Long) #4

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

Yes indeed I wanted something similar to Elasticsearch.

This sounds interesting, Please can you explain more?


(Magnus Bäck) #5

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.


(Josh Star Long) #6

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


(panaman) #7

you could load balance multiple logstash instances with haproxy


(system) #8

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