Monitiring elasticsearch cluster

HI Team,

Getting below issue while conncting from monitoring cluster to production cluster by using metricbeat.

issue:more than one namespace configured accessing config,could you please suggest on this.

Thank you
Kiran

hi @kiran_kumar1, from the short error message received, it seems that this is a configuration issue.
Can you provide us with the current configuration file?
Also, more on monitoring metricbeat here https://www.elastic.co/guide/en/beats/metricbeat/current/monitoring.html

Hi,

i have configured below setting inti filebeat.yml file

#-------------------------- Elasticsearch output ------------------------------
output.elasticsearch:

Array of hosts to connect to.

hosts: [" 17.99.242.240:80"] # monitroring cluster endipoint

Optional protocol and basic auth credentials.

#protocol: "https"
username: "elastic"
** password: "*******"**

And in modules.d directory i enabled Elasticsearch X-Pack module, in elasticsearch X-Pack.yml i have configured below settings

Module: elasticsearch

Docs: https://www.elastic.co/guide/en/beats/metricbeat/7.5/metricbeat-module-elasticsearch.html

  • module: elasticsearch
    metricsets:

Actually here am trying to monitor Dev cluster(production cluster) form Monitoring cluster via metricbeat, so when am trying to start metricbeat by using this command ./metricbeat
getting below issue

Exiting: more than one namespace configured accessing config

Thank you
Kiran

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