# Beat.name set in config is not used when metricbeat starts

**URL:** <https://discuss.elastic.co/t/beat-name-set-in-config-is-not-used-when-metricbeat-starts/160608>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [December 12, 2018, 7:12pm UTC](https://discuss.elastic.co/t/beat-name-set-in-config-is-not-used-when-metricbeat-starts/160608 "2018-12-12T19:12:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![swright-eti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/swright-eti/32/38743_2.png) [@swright-eti](https://discuss.elastic.co/u/swright-eti)\
**Post date:** [December 12, 2018, 7:12pm UTC](https://discuss.elastic.co/t/beat-name-set-in-config-is-not-used-when-metricbeat-starts/160608/1 "2018-12-12T19:12:12Z")

</div>

Just getting started with ElasticStack and I have a configuration issue with metricbeat. Following the directions in this [post](https://www.elastic.co/guide/en/beats/metricbeat/current/exported-fields-beat.html) I set:

`beat.name: yellow470.qa`

When metricbeat starts I see this in the log:

`2018-12-12T13:30:46.718-0500 INFO [publisher] pipeline/module.go:110 Beat name: yellow`

In kibana I see the string "yellow", which is not what I configured in the beat.

So it appears as though I am configuring beat.name metricbeat incorrectly. Can anyone point me in the right direction please.

---

<div class="post-metadata">

**Author:** ![swright-eti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/swright-eti/32/38743_2.png) [@swright-eti](https://discuss.elastic.co/u/swright-eti)\
**Post date:** [December 12, 2018, 7:20pm UTC](https://discuss.elastic.co/t/beat-name-set-in-config-is-not-used-when-metricbeat-starts/160608/2 "2018-12-12T19:20:48Z")

</div>

The answer is that the field is "name" not "beat.name"

---

<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:** [December 13, 2018, 8:32am UTC](https://discuss.elastic.co/t/beat-name-set-in-config-is-not-used-when-metricbeat-starts/160608/3 "2018-12-13T08:32:23Z")

</div>

Glad you found the solution yourself.

---

<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:** [January 10, 2019, 8:32am UTC](https://discuss.elastic.co/t/beat-name-set-in-config-is-not-used-when-metricbeat-starts/160608/4 "2019-01-10T08:32:28Z")

</div>

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