# How to scale out logstash when using output plugin websockets

**URL:** <https://discuss.elastic.co/t/how-to-scale-out-logstash-when-using-output-plugin-websockets/239106>\
**Category:** Logstash\
**Created:** [June 29, 2020, 11:45am UTC](https://discuss.elastic.co/t/how-to-scale-out-logstash-when-using-output-plugin-websockets/239106 "2020-06-29T11:45:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Satish\_Kumar5](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/satish_kumar5/32/48265_2.png) [@Satish\_Kumar5](https://discuss.elastic.co/u/Satish_Kumar5)\
**Post date:** [June 29, 2020, 11:45am UTC](https://discuss.elastic.co/t/how-to-scale-out-logstash-when-using-output-plugin-websockets/239106/1 "2020-06-29T11:45:40Z")

</div>

Hi,  
when using logstash output plugin for websockets, my understanding is the output plugin works as a websocket server, and sending data to websocket clients .  
my question is how to ensure scaling of the websockets if there are more number of clients and the connection is dropped - specifically if a logstash server goes down?  
do I need to re-initiate all the clients, any loadbalancer/proxy has to be brought before the logstash nodes?  
Any pointers would be appreciated.

Thanks

---

<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 27, 2020, 11:45am UTC](https://discuss.elastic.co/t/how-to-scale-out-logstash-when-using-output-plugin-websockets/239106/2 "2020-07-27T11:45:43Z")

</div>

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