# Kibana does not recognize elasticsearch when the node joins a cluster

**URL:** https://discuss.elastic.co/t/kibana-does-not-recognize-elasticsearch-when-the-node-joins-a-cluster/50023
**Category:** Elasticsearch
**Created:** [May 13, 2016, 6:03pm UTC](https://discuss.elastic.co/t/kibana-does-not-recognize-elasticsearch-when-the-node-joins-a-cluster/50023 "2016-05-13T18:03:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sharon.c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sharon.c/32/16076_2.png) [@sharon.c](https://discuss.elastic.co/u/sharon.c)
#### Post date: [May 13, 2016, 6:03pm UTC](https://discuss.elastic.co/t/kibana-does-not-recognize-elasticsearch-when-the-node-joins-a-cluster/50023/1 "2016-05-13T18:03:50Z")

</div>

The elasticsearch version I am using is 2.3.  
I have a 2 nodes elasticsearch cluster (with no kibana installed), and an individual elasticsearch data node( with kibana installed). The data node with kibana works perfectly by itself with Kibana showing the local data, but I want the data node with Kibana to join the cluster so that I can visualize data. When I change the settings of Datanode with kibana, Kibana cannot find elasticsearch anymore.

![](https://us1.discourse-cdn.com/elastic/original/2X/d/ddf29cfd4f5dfe68a53b10253337000bc41c6ef1.png)

On the datanode\_with\_kibana node:  
When the datanode\_with\_kibana elasticsearch.yml setting is all commented, and it working individually, and kibana is working perfectly.

But when I set in datanode\_with\_kibana elasticsearch.yml to join the cluster as follows:

> 

cluster.name: elkstats  
network.host: 10.100.16.14

Kibana cannot connect to Elasticsearch

 ![](https://us1.discourse-cdn.com/elastic/original/2X/d/d65bd27c434509bf9fd5c91a11eb028f712dd7cd.png)

I checked the cluster status using

> 

curl -XGET '[http://Melasticsearch:9200/\_cluster/health?pretty=true](http://Melasticsearch:9200/_cluster/health?pretty=true)'

It shows datanode\_with\_kibana is recognized as a cluster member as follows:

> 

{  
"cluster\_name" : "elkstats",  
"status" : "green",  
"timed\_out" : false,  
"number\_of\_nodes" : 3,  
"number\_of\_data\_nodes" : 3,  
"active\_primary\_shards" : 17,  
"active\_shards" : 31,  
"relocating\_shards" : 0,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 0,  
"delayed\_unassigned\_shards" : 0,  
"number\_of\_pending\_tasks" : 0,  
"number\_of\_in\_flight\_fetch" : 0,  
"task\_max\_waiting\_in\_queue\_millis" : 0,  
"active\_shards\_percent\_as\_number" : 100.0  
}

The kibana.yml file setting:

> 

server.port: 5601  
server.host: "datanode\_with\_kibana"  
elasticsearch.url: "[http://10.100.16.14:9200](http://10.100.16.14:9200)"

Extra information:  
The settings of 2 node Elasticsearch cluster is like this:  
One Master Node: elasticsearch.yml settings is as follows

> 

cluster.name: elkstats  
node.name: Melasticsearch  
node.master: true  
node.data: true  
discovery.zen.ping.multicast.enabled: false  
discovery.zen.ping.unicast.hosts: ["Melasticsearch","datanode1","datanode\_with\_kibana"]  
path.data: /data  
network.bind\_host: 10.100.16.13  
network.publish\_host: 10.100.16.13  
http.cors.enabled: true  
http.cors.allow-origin: "\*"

One Data Node: elasticsearch.yml settings is as follows

> 

cluster.name: elkstats  
node.name: datanode1  
node.master: false  
node.data: true  
path.data: /data  
network.bind\_host: 10.100.16.11  
network.publish\_host: 10.100.16.11  
http.cors.enabled: true  
http.cors.allow-origin: "\*"

---

<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, 10:51pm UTC](https://discuss.elastic.co/t/kibana-does-not-recognize-elasticsearch-when-the-node-joins-a-cluster/50023/2 "2017-07-05T22:51:33Z")

</div>


