# Elasticsearch host

**URL:** <https://discuss.elastic.co/t/elasticsearch-host/202736>\
**Category:** Kibana\
**Created:** [October 8, 2019, 9:39pm UTC](https://discuss.elastic.co/t/elasticsearch-host/202736 "2019-10-08T21:39:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![j888](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@j888](https://discuss.elastic.co/u/j888)\
**Post date:** [October 8, 2019, 9:39pm UTC](https://discuss.elastic.co/t/elasticsearch-host/202736/1 "2019-10-08T21:39:27Z")

</div>

For an Elasticsearch cluster with 3 master only nodes and 2 data nodes, do I point elasticsearch.hosts in kibana.yml at the data nodes or the master only nodes (or both)?

---

<div class="post-metadata">

**Author:** ![iukea](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iukea/32/49083_2.png) [@iukea](https://discuss.elastic.co/u/iukea)\
**Post date:** [October 8, 2019, 10:59pm UTC](https://discuss.elastic.co/t/elasticsearch-host/202736/2 "2019-10-08T22:59:56Z")

</div>

> [@j888](#):
>
> 3 master only nodes and 2 data nodes

why do you have 3 master nodes?

---

<div class="post-metadata">

**Author:** ![iukea](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/iukea/32/49083_2.png) [@iukea](https://discuss.elastic.co/u/iukea)\
**Post date:** [October 8, 2019, 11:00pm UTC](https://discuss.elastic.co/t/elasticsearch-host/202736/3 "2019-10-08T23:00:56Z")

</div>

you wont need to do anything in the Kibana yml file

But to get the master (s) to talk to the data nodes you will need to set that in the elasticsearch.yml

---

<div class="post-metadata">

**Author:** ![j888](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@j888](https://discuss.elastic.co/u/j888)\
**Post date:** [October 9, 2019, 1:15pm UTC](https://discuss.elastic.co/t/elasticsearch-host/202736/4 "2019-10-09T13:15:53Z")

</div>

From what I've been researching, 3 master nodes that are separated from the data nodes is recommended. Also, I should've clarified, but Kibana won't be installed on the any of the elasticsearch nodes. It will be separate. I understand what I need to do for the Elasticsearch nodes to communicate with each other, but I'm wondering exactly how I'm supposed to configure Kibana to communicate with Elasticsearch. I don't have a coordinating only Elasticsearch node and the documentation doesn't specify which Elasticsearch node you are supposed to use for Kibana when you have master only nodes and data nodes.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 9, 2019, 1:34pm UTC](https://discuss.elastic.co/t/elasticsearch-host/202736/5 "2019-10-09T13:34:29Z")

</div>

3 master 2 data is a fine architecture.

Point Kibana at the data nodes

If you want a little more production / HA you could perhaps take a look at [this](https://www.elastic.co/guide/en/kibana/current/production.html)

---

<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:** [November 6, 2019, 1:34pm UTC](https://discuss.elastic.co/t/elasticsearch-host/202736/6 "2019-11-06T13:34:38Z")

</div>

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