# Logstash HA

**URL:** <https://discuss.elastic.co/t/logstash-ha/258979>\
**Category:** Logstash\
**Created:** [December 17, 2020, 11:15am UTC](https://discuss.elastic.co/t/logstash-ha/258979 "2020-12-17T11:15:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ksaha](https://avatars.discourse-cdn.com/v4/letter/k/b782af/32.png) [@ksaha](https://discuss.elastic.co/u/ksaha)\
**Post date:** [December 17, 2020, 11:15am UTC](https://discuss.elastic.co/t/logstash-ha/258979/1 "2020-12-17T11:15:42Z")

</div>

Hi,

Can anyone please provide what are the various options of implementing Logstash High Availability?  
I am aware of using at least two Logstash instance for Logstash HA. Is there any other way by which I can achieve Logstash HA?

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:** [December 21, 2020, 3:11am UTC](https://discuss.elastic.co/t/logstash-ha/258979/2 "2020-12-21T03:11:33Z")

</div>

That will depend on what you are doing with your Logstash config.

eg can you use a load balancer in front of them both, if you are using a TCP input.

---

<div class="post-metadata">

**Author:** ![djb000m](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/djb000m/32/67940_2.png) [@djb000m](https://discuss.elastic.co/u/djb000m)\
**Post date:** [December 31, 2020, 9:24am UTC](https://discuss.elastic.co/t/logstash-ha/258979/3 "2020-12-31T09:24:26Z")

</div>

Hi, sorry to jump on someone else's thread but I'm also looking to horizontally scale Logstash.

> [@warkolm](#):
>
> That will depend on what you are doing with your Logstash config.
> 
> eg can you use a load balancer in front of them both, if you are using a TCP input.

Is using HAProxy in front of the Logstash nodes the preferred method for HA? Do the Logstash nodes require any configuration so they are aware of the others and to share pipelines?

I've checked the [documentation](https://www.elastic.co/guide/en/logstash/current/deploying-and-scaling.html#_scalability) but all I can find is a description of what I want, but not the details on how to achieve it.

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:** [December 31, 2020, 9:24am UTC](https://discuss.elastic.co/t/logstash-ha/258979/4 "2020-12-31T09:24:59Z")

</div>

We don't provide pointed advice there given the number of options. If HAProxy is what you know, then use it 🙂

---

<div class="post-metadata">

**Author:** ![djb000m](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/djb000m/32/67940_2.png) [@djb000m](https://discuss.elastic.co/u/djb000m)\
**Post date:** [December 31, 2020, 9:28am UTC](https://discuss.elastic.co/t/logstash-ha/258979/5 "2020-12-31T09:28:22Z")

</div>

Wow, you're quick Mark, thanks!

I was curious about this line (in the documentation),

> Logstash is horizontally scalable and can form groups of nodes running the same pipeline.

Is there some configuration within Logstash for awareness of other nodes and creating shared pipelines, or is it just a case of manually making sure the configurations match across Logstash nodes?

thanks

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [December 31, 2020, 3:51pm UTC](https://discuss.elastic.co/t/logstash-ha/258979/6 "2020-12-31T15:51:20Z")

</div>

> [@djb000m](#):
>
> Is there some configuration within Logstash for awareness of other nodes and creating shared pipelines, or is it just a case of manually making sure the configurations match across Logstash nodes?

No, there is not, you need to make sure that your nodes are using the same configuration, this line in documentation basically only says that you can have multiple nodes running the same configuration, but they do not communicate between them and are not aware of the existence of other nodes.

If you pay for the Gold License and beyond, you can use the Centralized Pipeline Management to update your pipelines directly from Kibana, but sill, each node needs to be configured to use a pipeline or note. This feature is not available on the Basic License.

---

<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:** [January 28, 2021, 3:51pm UTC](https://discuss.elastic.co/t/logstash-ha/258979/7 "2021-01-28T15:51:29Z")

</div>

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