# Monitiring elasticsearch cluster

**URL:** https://discuss.elastic.co/t/monitiring-elasticsearch-cluster/213992
**Category:** Beats
**Tags:** metricbeat
**Created:** [January 7, 2020, 6:48am UTC](https://discuss.elastic.co/t/monitiring-elasticsearch-cluster/213992 "2020-01-07T06:48:45Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kiran\_kumar1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kiran_kumar1/32/55777_2.png) [@kiran\_kumar1](https://discuss.elastic.co/u/kiran_kumar1)
#### Post date: [January 7, 2020, 6:48am UTC](https://discuss.elastic.co/t/monitiring-elasticsearch-cluster/213992/1 "2020-01-07T06:48:45Z")

</div>

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

---

<div class="post-metadata">

### Author: ![MarianaD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marianad/32/42687_2.png) [@MarianaD](https://discuss.elastic.co/u/MarianaD)
#### Post date: [January 7, 2020, 9:02am UTC](https://discuss.elastic.co/t/monitiring-elasticsearch-cluster/213992/2 "2020-01-07T09:02:32Z")

</div>

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](https://www.elastic.co/guide/en/beats/metricbeat/current/monitoring.html)

---

<div class="post-metadata">

### Author: ![kiran\_kumar1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kiran_kumar1/32/55777_2.png) [@kiran\_kumar1](https://discuss.elastic.co/u/kiran_kumar1)
#### Post date: [January 7, 2020, 9:21am UTC](https://discuss.elastic.co/t/monitiring-elasticsearch-cluster/213992/3 "2020-01-07T09:21:09Z")

</div>

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](https://www.elastic.co/guide/en/beats/metricbeat/7.5/metricbeat-module-elasticsearch.html)

- module: elasticsearch  
metricsets:
  - ccr
  - cluster\_stats
  - enrich
  - index
  - index\_recovery
  - index\_summary
  - ml\_job
  - node\_stats
  - shard  
period: 10s  
**hosts: ["[https://apis-gbiobserver-events-dev.corp.apple.com](https://apis-gbiobserver-events-dev.corp.apple.com)"] # Dev Cluster endpoint**  
username: "elastic"  
password: "\*\*\*\*\*\*"  
xpack.enabled: true

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

---

<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: [February 4, 2020, 9:21am UTC](https://discuss.elastic.co/t/monitiring-elasticsearch-cluster/213992/4 "2020-02-04T09:21:13Z")

</div>

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