# Mutliple elasticsearch with a single kibana

**URL:** https://discuss.elastic.co/t/mutliple-elasticsearch-with-a-single-kibana/189064
**Category:** Kibana
**Created:** [July 5, 2019, 9:51am UTC](https://discuss.elastic.co/t/mutliple-elasticsearch-with-a-single-kibana/189064 "2019-07-05T09:51:46Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![koventhan](https://avatars.discourse-cdn.com/v4/letter/k/a183cd/32.png) [@koventhan](https://discuss.elastic.co/u/koventhan)
#### Post date: [July 5, 2019, 9:51am UTC](https://discuss.elastic.co/t/mutliple-elasticsearch-with-a-single-kibana/189064/1 "2019-07-05T09:51:46Z")

</div>

Hello team,  
I have created two elasticsearch and tried connecting them to a single kibana,where both the elasticsearch are in Virtualboxs. when i try to connect to the other elasticsearch it shows up with error

error i am getting

Hello team,  
I have created two elasticsearch and tried connecting them to a single kibana,where both the elasticsearch are in Virtualboxs. when i try to connect to the other elasticsearch it shows up with error

{  
"error": {  
"root\_cause": [  
{  
"type": "connect\_transport\_exception",  
"reason": "[127.0.0.1:9301] connect\_exception"  
}  
],  
"type": "connect\_transport\_exception",  
"reason": "[127.0.0.1:9301] connect\_exception",  
"caused\_by": {  
"type": "annotated\_connect\_exception",  
"reason": "Connection refused: /127.0.0.1:9301",  
"caused\_by": {  
"type": "connect\_exception",  
"reason": "Connection refused"  
}  
}  
},  
"status": 500  
}

---

<div class="post-metadata">

### Author: ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)
#### Post date: [July 5, 2019, 7:33pm UTC](https://discuss.elastic.co/t/mutliple-elasticsearch-with-a-single-kibana/189064/2 "2019-07-05T19:33:08Z")

</div>

Hi @koventhan,

If you are trying to connect one Kibana instance to multiple Elasticsearch clusters, you'll want to look into [Cross-cluster search](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-cross-cluster-search.html), which allows you to set up one node that can federate queries across multiple clusters.

You'd need to connect Kibana to this node, and then [configure your index patterns](https://www.elastic.co/guide/en/kibana/current/management-cross-cluster-search.html) to point to the right cluster(s) for your fields.

---

<div class="post-metadata">

### Author: ![koventhan](https://avatars.discourse-cdn.com/v4/letter/k/a183cd/32.png) [@koventhan](https://discuss.elastic.co/u/koventhan)
#### Post date: [July 8, 2019, 2:02am UTC](https://discuss.elastic.co/t/mutliple-elasticsearch-with-a-single-kibana/189064/3 "2019-07-08T02:02:42Z")

</div>

Hello @lukeelmers  
I am getting the above error once i connect using cross cluster search.Thanks in advance.

---

<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: [August 5, 2019, 2:02am UTC](https://discuss.elastic.co/t/mutliple-elasticsearch-with-a-single-kibana/189064/4 "2019-08-05T02:02:53Z")

</div>

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