# \[metricbeat\]\[filebeat\]\[7.2\] host.name wrong value. Bug or wrong set?

**URL:** <https://discuss.elastic.co/t/metricbeat-filebeat-7-2-host-name-wrong-value-bug-or-wrong-set/190007>\
**Category:** Beats\
**Created:** [July 11, 2019, 12:30pm UTC](https://discuss.elastic.co/t/metricbeat-filebeat-7-2-host-name-wrong-value-bug-or-wrong-set/190007 "2019-07-11T12:30:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ea1987](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ea1987/32/51356_2.png) [@ea1987](https://discuss.elastic.co/u/ea1987)\
**Post date:** [July 11, 2019, 12:30pm UTC](https://discuss.elastic.co/t/metricbeat-filebeat-7-2-host-name-wrong-value-bug-or-wrong-set/190007/1 "2019-07-11T12:30:18Z")

</div>

Hi guys,  
I'm currently working on filebeat (system module enabled) and metricbeat, 7.2v.  
I noticed that field **host.name** which, as Elastic ecs documentation reports, refers to the name of the host, has the same value of agent.name field (take a look at the attached screenshots). This will not let infrastructure gui to work properly because gui artifact data are splitted accordingly to the host.name field.

**Metricbeat**

 ![metricbeat](https://us1.discourse-cdn.com/elastic/original/3X/0/a/0a2ab6f4670c25331d9747f1e348839fe4412f68.png)

**Filebeat**

 ![filebeat](https://us1.discourse-cdn.com/elastic/original/3X/2/d/2d6541e270449d60c595cfa8562312651ab8f978.png)

It that a bug or a wrong set? NB: no particual changes have been performed on both .yml config files (only changed their name, eg. name: "METRICBEAT-${HOSTNAME}")  
Thanks,

Andrea

---

<div class="post-metadata">

**Author:** ![Michal\_Pristas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michal_pristas/32/46639_2.png) [@Michal\_Pristas](https://discuss.elastic.co/u/Michal_Pristas)\
**Post date:** [July 15, 2019, 11:51am UTC](https://discuss.elastic.co/t/metricbeat-filebeat-7-2-host-name-wrong-value-bug-or-wrong-set/190007/2 "2019-07-15T11:51:23Z")

</div>

can you share a config snippet mentioned?

---

<div class="post-metadata">

**Author:** ![ea1987](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ea1987/32/51356_2.png) [@ea1987](https://discuss.elastic.co/u/ea1987)\
**Post date:** [July 16, 2019, 8:52am UTC](https://discuss.elastic.co/t/metricbeat-filebeat-7-2-host-name-wrong-value-bug-or-wrong-set/190007/3 "2019-07-16T08:52:41Z")

</div>

They are both available [here](https://drive.google.com/drive/folders/1jkr2grRssnEfHePK6CLOMJwvcklbCgkR?usp=sharing)

Thanks

---

<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 13, 2019, 10:52am UTC](https://discuss.elastic.co/t/metricbeat-filebeat-7-2-host-name-wrong-value-bug-or-wrong-set/190007/4 "2019-08-13T10:52:45Z")

</div>

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