# Metricbeat x-pack monitoring

**URL:** https://discuss.elastic.co/t/metricbeat-x-pack-monitoring/131780
**Category:** Elasticsearch
**Created:** [May 14, 2018, 3:39pm UTC](https://discuss.elastic.co/t/metricbeat-x-pack-monitoring/131780 "2018-05-14T15:39:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Mario\_Fimiani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_fimiani/32/51039_2.png) [@Mario\_Fimiani](https://discuss.elastic.co/u/Mario_Fimiani)
#### Post date: [May 14, 2018, 3:39pm UTC](https://discuss.elastic.co/t/metricbeat-x-pack-monitoring/131780/1 "2018-05-14T15:39:43Z")

</div>

Which is the configuration to monitor via kibana (x-pack on board with elk 6.2.4),  
the metricbeat status ?

We don't have the monitoring beat area with this configuration (it's seems to be some conflict between the elasticsearch configuration and x-pack monitoring) :

#-------------------------- Elasticsearch output -------------------------------  
output.elasticsearch:  
enabled: true  
hosts: ["localhost:9200"]  
protocol: "http"  
username: "metricbeat\_writer"  
password: "\*\*\*\*\*\*\*"

....

#============================== Xpack Monitoring ===============================  
xpack.monitoring.enabled: true  
xpack.monitoring.elasticsearch:

Regards

---

<div class="post-metadata">

### Author: ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)
#### Post date: [May 22, 2018, 10:44am UTC](https://discuss.elastic.co/t/metricbeat-x-pack-monitoring/131780/2 "2018-05-22T10:44:57Z")

</div>

If you don't configure the `xpack.monitoring.elasticsearch` the values from the output will be taken. If you want to send it to a different host, you have to configure it.

I'm not sure I understood if it's working on your end or not.

---

<div class="post-metadata">

### Author: ![Mario\_Fimiani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_fimiani/32/51039_2.png) [@Mario\_Fimiani](https://discuss.elastic.co/u/Mario_Fimiani)
#### Post date: [May 22, 2018, 12:58pm UTC](https://discuss.elastic.co/t/metricbeat-x-pack-monitoring/131780/3 "2018-05-22T12:58:57Z")

</div>

My miss understanidng was for comment 😄

Now it's work, I need to add the same configuration for output and monitoring :

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

# Array of hosts to connect to.

hosts: ["10.76.51.14:9200"]

# Optional protocol and basic auth credentials.

protocol: "http"  
username: "\*\*\*"  
password: "\*\*\*"

#============================== Xpack Monitoring ===============================

xpack.monitoring.elasticsearch.url: ["[http://10.76.51.14:9200](http://10.76.51.14:9200)"]  
xpack.monitoring.elasticsearch.username: "\*\*\*"  
xpack.monitoring.elasticsearch.password: "\*\*\*"

---

<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: [June 19, 2018, 12:59pm UTC](https://discuss.elastic.co/t/metricbeat-x-pack-monitoring/131780/4 "2018-06-19T12:59:07Z")

</div>

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