I am trying to set my cluster with metricbeat monitoring.
follow the document. setup everything but all my node just keep changing
what am i missing?
elasticsearch.yml file on all system
xpack.monitoring.collection.enabled: true
xpack.monitoring.history.duration: 30d
xpack.monitoring.collection.interval: 60s
Can you please send me the results of the following: GET _cat/indices
We identify metricbeat usage through the index name. My guess is that you also have: xpack.monitoring.elasticsearch.collection.enabled set to true, thus getting both types of indices
Here are some sources to help with some setup configurations:
It isn't recommended to run metricbeat on the same node/machine as the ES stack (prod). This can results in multiple collectors running at the same time (if default is not disabled). You can either "simulate" separate nodes with docker containers w/ xpack.monitoring.elasticsearch.collection.enabled: false, or adjust your current environment to not collect local metrics for that same machine:
ok finally all is working after testing different thing. I understood how it works.
basically you send your production data to cluster which is going to monitor this production cluster
and on that system which is going to act as monitoring cluster needs to disable all collection and monitoring.
one piece which I was missing was to put monitoring.ui.elasticsearch.hosts: monitoringnode:9200
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.