# Metricbeat not using name in http monitoring

**URL:** <https://discuss.elastic.co/t/metricbeat-not-using-name-in-http-monitoring/240368>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [July 8, 2020, 2:37pm UTC](https://discuss.elastic.co/t/metricbeat-not-using-name-in-http-monitoring/240368 "2020-07-08T14:37:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tasmanien](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@Tasmanien](https://discuss.elastic.co/u/Tasmanien)\
**Post date:** [July 8, 2020, 2:37pm UTC](https://discuss.elastic.co/t/metricbeat-not-using-name-in-http-monitoring/240368/1 "2020-07-08T14:37:33Z")

</div>

Hi,

I'm using http monitoring on my metricbeat, so I can see it in Kibana Monitoring.  
I've setup like this:

metricbeat.yml:  
http.enabled: true  
http.port: 5067  
name: NAME-I-PICKED

beat-xpack.yml:

- module: beat  
metricsets:
  - stats
  - state  
period: 10s  
hosts: ["[http://localhost:5067](http://localhost:5067)"]  
xpack.enabled: true

But when I open [http://localhost:5067](http://localhost:5067), the name is still my machine's name, not the one that I set, so my beat shows the wrong name in Kibana Monitoring page.

However, the metrics sent by metricbeat (in Kibana Metrics page) have the name "NAME-I-PICKED" as expected.

Is there something I can do to this fix?

Thanks

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [July 9, 2020, 2:35pm UTC](https://discuss.elastic.co/t/metricbeat-not-using-name-in-http-monitoring/240368/2 "2020-07-09T14:35:21Z")

</div>

What is the version of the Metricbeat instance you are running?

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [July 9, 2020, 8:08pm UTC](https://discuss.elastic.co/t/metricbeat-not-using-name-in-http-monitoring/240368/3 "2020-07-09T20:08:46Z")

</div>

It sounds like you might be running into this bug: [https://github.com/elastic/beats/issues/18043](https://github.com/elastic/beats/issues/18043). Nevertheless, it would be good to know which version of Metricbeat you are running, as @kvch asked.

Shaunak

---

<div class="post-metadata">

**Author:** ![Tasmanien](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@Tasmanien](https://discuss.elastic.co/u/Tasmanien)\
**Post date:** [July 10, 2020, 6:17am UTC](https://discuss.elastic.co/t/metricbeat-not-using-name-in-http-monitoring/240368/4 "2020-07-10T06:17:44Z")

</div>

I'm using Metricbeat 7.5.2, and it seems it's exactly the bug I'm running into.

---

<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:** [August 7, 2020, 8:17am UTC](https://discuss.elastic.co/t/metricbeat-not-using-name-in-http-monitoring/240368/5 "2020-08-07T08:17:48Z")

</div>

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