# Elasticsearch cluser traffic distribution

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluser-traffic-distribution/212676>\
**Category:** Elasticsearch\
**Created:** [December 20, 2019, 2:52pm UTC](https://discuss.elastic.co/t/elasticsearch-cluser-traffic-distribution/212676 "2019-12-20T14:52:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkalinowski](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@mkalinowski](https://discuss.elastic.co/u/mkalinowski)\
**Post date:** [December 20, 2019, 2:52pm UTC](https://discuss.elastic.co/t/elasticsearch-cluser-traffic-distribution/212676/1 "2019-12-20T14:52:37Z")

</div>

Hello,

I have a performance question.  
Suppose we have three elasticsearch nodes. The number of logstash is X 😉  
Is it possible to configure the cluster in such a way that traffic from these logstash is distributed evenly? Will connecting all nodes under one domain provide such a thing? Or is it in the configuration on the logstash side?

THX  
Maciej

---

<div class="post-metadata">

**Author:** ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Post date:** [December 20, 2019, 4:28pm UTC](https://discuss.elastic.co/t/elasticsearch-cluser-traffic-distribution/212676/2 "2019-12-20T16:28:51Z")

</div>

See the doc for the logstash elasticsearch output plugin. If you give a list of hosts, it load balances across them.

---

<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 17, 2020, 4:28pm UTC](https://discuss.elastic.co/t/elasticsearch-cluser-traffic-distribution/212676/3 "2020-01-17T16:28:52Z")

</div>

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