I have deployed elastic monitoring cluster for my production cluster, now I can see monitoring data to new cluster, but cant see the same data in production cluster monitoring tab of kibana.
Is this normal, I can see below message in Kibana for monitoring in prod cluster.
## You need to make some adjustments
To run monitoring please perform the following steps
We checked the `cluster defaults` settings for `xpack.monitoring.exporters` , and found the reason: `Remote exporters indicate a possible misconfiguration: id1` .
Using monitoring exporters ship the monitoring data to a remote monitoring cluster is highly recommended as it keeps the integrity of the monitoring data safe no matter what the state of the production cluster. However, as this instance of Kibana could not find any monitoring data, there seems to be a problem with the `xpack.monitoring.exporters` configuration, or the `xpack.monitoring.elasticsearch` settings in `kibana.yml` .
Check that the intended exporters are enabled for sending statistics to the monitoring cluster, and that the monitoring cluster host matches the `xpack.monitoring.elasticsearch` setting in `kibana.yml` to see monitoring data in this instance of Kibana.
Production ES configuration:
xpack.monitoring.history.duration=7d
xpack.monitoring.exporters.id1.type=http
xpack.monitoring.exporters.id1.host=http://monitoring_cluster_ip:9500
xpack.monitoring.elasticsearch.collection.enabled=true
xpack.monitoring.collection.indices=.monitoring* (Can I change this for all indecies, what will be the impact and benifites)
xpack.monitoring.collection.enabled=true
node.name=${HOSTNAME}
node.master=true
node.data=false
indices.memory.index_buffer_size=40%
http.cors.enabled=true
http.cors.allow-origin=*
discovery.zen.ping.unicast.hosts=es-master
discovery.zen.minimum_master_nodes=2
cluster.routing.allocation.awareness.attributes=rack_id
cluster.name=prodcution-es
Just to clarify, you mean you are seeing .monitoring-* indices on the monitoring cluster?
Can you also share your kibana.yml for the production cluster? You'll need to set xpack.monitoring.elasticsearch.hosts so Kibana knows to look there for the monitoring data (without setting that, it will just look at the production cluster instead). See this document for more information.
Also, this is tangential, but the xpack.monitoring.history.duration=7d setting will only work if you are using a local exporter. See this document for more information
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.