# Many Logstash to get HA

**URL:** <https://discuss.elastic.co/t/many-logstash-to-get-ha/52592>\
**Category:** Logstash\
**Created:** [June 13, 2016, 10:23am UTC](https://discuss.elastic.co/t/many-logstash-to-get-ha/52592 "2016-06-13T10:23:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guillermo\_Ortiz](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@Guillermo\_Ortiz](https://discuss.elastic.co/u/Guillermo_Ortiz)\
**Post date:** [June 13, 2016, 10:23am UTC](https://discuss.elastic.co/t/many-logstash-to-get-ha/52592/1 "2016-06-13T10:23:11Z")

</div>

I want to have HA in Logstash, my scenario is:  
N-Flume --\> Kafka --\> N Logstash --\> ElasticSearch

I don't know if there are any recommendation about HA, I read [https://www.elastic.co/guide/en/logstash/current/deploying-and-scaling.html](https://www.elastic.co/guide/en/logstash/current/deploying-and-scaling.html) about this topic. What I want to it's to have more many machines running logstash so if I lost one of machine I wouldn't lose the service.

When I execute more than one logstash instances with a "`stdout { codec => rubydebug }}"` I can't only see outputs in one console while the others I got:  
"Settings: Default pipeline workers: 8  
Pipeline main started"

Does it mean that only one instance gets data from Kafka?  
I went down one logstash instance and suddenly the another instance started it to print traces of consumed events.

---

<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:** [July 6, 2017, 4:53am UTC](https://discuss.elastic.co/t/many-logstash-to-get-ha/52592/2 "2017-07-06T04:53:23Z")

</div>


