# Several questions about a cluster

**URL:** <https://discuss.elastic.co/t/several-questions-about-a-cluster/28497>\
**Category:** Elasticsearch\
**Created:** [September 2, 2015, 8:23am UTC](https://discuss.elastic.co/t/several-questions-about-a-cluster/28497 "2015-09-02T08:23:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nkoleff](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@nkoleff](https://discuss.elastic.co/u/nkoleff)\
**Post date:** [September 2, 2015, 8:23am UTC](https://discuss.elastic.co/t/several-questions-about-a-cluster/28497/1 "2015-09-02T08:23:02Z")

</div>

Hello there,

I've got a cluster of 3 nodes 1 master +data 2 data nodes. I am planning to feed it from Logstash and I am wondering if each of these 3 nodes should have Logstash installed or it may be just 1 pointed to the master?

Then if so, how will elasticsearch spread the data to the other nodes - is it automatically or I should explicitly set routing?

---

<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:** [September 2, 2015, 8:30am UTC](https://discuss.elastic.co/t/several-questions-about-a-cluster/28497/2 "2015-09-02T08:30:57Z")

</div>

You can install LS on all 3 if you want, it'll mean you also have some redundancy in processing data.

When LS sends data to the cluster it does get distributed automatically, don't use routing for this sort of data.

---

<div class="post-metadata">

**Author:** ![nkoleff](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@nkoleff](https://discuss.elastic.co/u/nkoleff)\
**Post date:** [September 2, 2015, 8:36am UTC](https://discuss.elastic.co/t/several-questions-about-a-cluster/28497/3 "2015-09-02T08:36:58Z")

</div>

that's fine, but I'm wondering where to point them? All three instances are on different machines and whenever I am outputting to elasticsearch should i point it to the master node or I can point it to whichever I decide and elasticsearch will automatically spread data?

---

<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:** [September 2, 2015, 8:45am UTC](https://discuss.elastic.co/t/several-questions-about-a-cluster/28497/4 "2015-09-02T08:45:22Z")

</div>

Just point it to localhost 🙂

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [September 2, 2015, 8:49am UTC](https://discuss.elastic.co/t/several-questions-about-a-cluster/28497/5 "2015-09-02T08:49:18Z")

</div>

Any ES node can receive any request. The choice of node to dispatch requests to doesn't affect how data is routed.

---

<div class="post-metadata">

**Author:** ![nkoleff](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@nkoleff](https://discuss.elastic.co/u/nkoleff)\
**Post date:** [September 2, 2015, 9:07am UTC](https://discuss.elastic.co/t/several-questions-about-a-cluster/28497/6 "2015-09-02T09:07:07Z")

</div>

Wonderful, thank you!

---

<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 5, 2017, 11:52pm UTC](https://discuss.elastic.co/t/several-questions-about-a-cluster/28497/7 "2017-07-05T23:52:40Z")

</div>


