# Kibana monitoring - (wrong) data from remote cluster

**URL:** https://discuss.elastic.co/t/kibana-monitoring-wrong-data-from-remote-cluster/162674
**Category:** Kibana
**Tags:** elastic-stack-monitoring
**Created:** [January 2, 2019, 3:03pm UTC](https://discuss.elastic.co/t/kibana-monitoring-wrong-data-from-remote-cluster/162674 "2019-01-02T15:03:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kluvi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kluvi/32/36739_2.png) [@kluvi](https://discuss.elastic.co/u/kluvi)
#### Post date: [January 2, 2019, 3:03pm UTC](https://discuss.elastic.co/t/kibana-monitoring-wrong-data-from-remote-cluster/162674/1 "2019-01-02T15:03:19Z")

</div>

Hi.  
We have this setup:

- cluster 1 (cluster\_name: reglendo-es-cluster), 4 nodes
- cluster 2 (cluster\_name: halda-cluster), 1 node
- kibana 1 connected to cluster 1
- kibana 2 connected to cluster 2
- setup cross-cluster search from cluster 2 to cluster 1 (cluster 2 is for "cold" data and cluster 1 for production data - we move the data manually from production to cold)
- ports 9200+9300 from cluster 1 are accessible from cluster 2 (and kibana 2 - its same server)

The problem is, that when I open kibana 2, I can see documents from cluster 2, dashboards,... but when click to Monitoring, I see data from cluster 1 and cant switch to cluster 2. I have no idea how to switch this... (btw in kibana 1 is nothing wrong.. everything works as expected).

Have you any idea how to solve this issue?

Edit:  
I also look into indices .monitoring-\* on cluster 1 and there is really only cluster\_uuid of cluster 1. But on cluster 2, there are no indices "monitoring-\*"

---

<div class="post-metadata">

### Author: ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)
#### Post date: [January 2, 2019, 3:39pm UTC](https://discuss.elastic.co/t/kibana-monitoring-wrong-data-from-remote-cluster/162674/2 "2019-01-02T15:39:04Z")

</div>

Hi @kluvi,

A few follow up questions to try and help clarify the picture:

1. Which versions of ES and Kibana are you running?

2. Can you provide a screenshot of the Monitoring UI on Kibana 2?

3. Can you provide your `kibana.yml` for kibana 1 and kibana 2, after masking any sensitive information?

4. For each cluster, can your provide the results of this query: `GET _cluster/settings?include_defaults&filter_path=*.xpack.monitoring.*`

---

<div class="post-metadata">

### Author: ![kluvi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kluvi/32/36739_2.png) [@kluvi](https://discuss.elastic.co/u/kluvi)
#### Post date: [January 3, 2019, 6:31am UTC](https://discuss.elastic.co/t/kibana-monitoring-wrong-data-from-remote-cluster/162674/3 "2019-01-03T06:31:13Z")

</div>

> [@shaunak](#):
>
> Which versions of ES and Kibana are you running?

cluster 2 is 6.5.4  
cluster 1 is 6.4.1 (we will update it today also to 6.5.4)

> [@shaunak](#):
>
> Can you provide a screenshot of the Monitoring UI on Kibana 2?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/2/027235c6d2067c411f748b62924670a35a3098b5.png)  
(URL is `https://XXXXXXX/app/monitoring#/overview?_g=(ccs:reglendo-es-cluster,cluster_uuid:'8EpTnISFS8qg03qU1YxWUw')` where XXXXXXX is domain of kibana 2)

> [@shaunak](#):
>
> Can you provide your `kibana.yml` for kibana 1 and kibana 2, after masking any sensitive information?

We run Kibana in docker container (image `docker.elastic.co/kibana/kibana:6.5.4` without any custom modifications) and set only environment variables `SERVER_NAME` and `ELASTICSEARCH_URL`

> [@shaunak](#):
>
> For each cluster, can your provide the results of this query: `GET _cluster/settings?include_defaults&filter_path=*.xpack.monitoring.*`

cluster 1:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/5/15715412b0cd2fe3c425194107c54dde43722ab0.png)  
cluster 2:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/a/5aea4be0cb9787dc2b3a7e59f1aecf015f7b06d2.png)

I see, that on cluster 2, there is `xpack.monitoring.collection.enabled: false`, but its weird, because its only in `defaults` section... Why is it different on each cluster?

btw I updated the settings through PUT /\_cluster/settings and ES creates the `.monitoring-*` index and now I can see correct cluster in Monitoring in Kibana.

So thank you for your hints

---

<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: [January 31, 2019, 6:31am UTC](https://discuss.elastic.co/t/kibana-monitoring-wrong-data-from-remote-cluster/162674/4 "2019-01-31T06:31:22Z")

</div>

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