# Two elastic servers with one Kibana dashboard

**URL:** <https://discuss.elastic.co/t/two-elastic-servers-with-one-kibana-dashboard/151388>\
**Category:** Elasticsearch\
**Created:** [October 8, 2018, 6:24am UTC](https://discuss.elastic.co/t/two-elastic-servers-with-one-kibana-dashboard/151388 "2018-10-08T06:24:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivaprasadrao.b](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@shivaprasadrao.b](https://discuss.elastic.co/u/shivaprasadrao.b)\
**Post date:** [October 8, 2018, 6:24am UTC](https://discuss.elastic.co/t/two-elastic-servers-with-one-kibana-dashboard/151388/1 "2018-10-08T06:24:21Z")

</div>

I have a requirement:  
i need two elastic servers and two logstash to be setup on two unix boxes (unix box1 and unix box2).

My kibana will be setup in unix box1.

I need kibana to show the data/logs from both unix box 1 and unix box 2.

My question:  
How to configure elasticservers in a way that ,kibana shows the data of both the logs stored by elastic server1 and elastic server2.

Please let me know the steps, if anyone tired this approach.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 8, 2018, 6:41am UTC](https://discuss.elastic.co/t/two-elastic-servers-with-one-kibana-dashboard/151388/2 "2018-10-08T06:41:51Z")

</div>

You can have 2 elasticsearch nodes part of the same elasticsearch cluster.  
Kibana connects to a cluster.

---

<div class="post-metadata">

**Author:** ![shivaprasadrao.b](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@shivaprasadrao.b](https://discuss.elastic.co/u/shivaprasadrao.b)\
**Post date:** [October 8, 2018, 6:47am UTC](https://discuss.elastic.co/t/two-elastic-servers-with-one-kibana-dashboard/151388/3 "2018-10-08T06:47:57Z")

</div>

Is this the correct configuration. Can you please let me know.  
**elasticServer1**

cluster-name : ESCluster  
Node-name : ES1  
node.master: true  
node.data: true  
node.ingest: false  
network.host: 10.199.184.50  
http.port: 9200  
discovery.zen.ping.unicast.hosts: ["10.199.184.50","10.199.184.47"]

**elasticServer2**

cluster-name : ESCluster  
node.name 1: ES2  
node.master: false  
node.data: true  
node.ingest: false  
network.host: 10.199.184.47  
http.port: 9200  
discovery.zen.ping.unicast.hosts: ["10.199.184.50","10.199.184.47"]

if i setup the same in my local then can i cahgne the network host to "localhost" and port to "unused port 1" to elasticserver1 and "unused port2" to elastic server 2 and discovery.zen.ping.unicast.hosts: ["localhost:port1","localhost:port2"]

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 8, 2018, 7:16am UTC](https://discuss.elastic.co/t/two-elastic-servers-with-one-kibana-dashboard/151388/4 "2018-10-08T07:16:07Z")

</div>

Yes. That sounds all correct

---

<div class="post-metadata">

**Author:** ![shivaprasadrao.b](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@shivaprasadrao.b](https://discuss.elastic.co/u/shivaprasadrao.b)\
**Post date:** [October 9, 2018, 9:35am UTC](https://discuss.elastic.co/t/two-elastic-servers-with-one-kibana-dashboard/151388/5 "2018-10-09T09:35:55Z")

</div>

Yes with the above configuration i was able to set up two elastic servers with one kibana dashboard.

Thanks David for quick reply.

---

<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, 2018, 9:35am UTC](https://discuss.elastic.co/t/two-elastic-servers-with-one-kibana-dashboard/151388/6 "2018-11-06T09:35:55Z")

</div>

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