# Empty @metadata fields when upgrading to 7.1.x

**URL:** <https://discuss.elastic.co/t/empty-metadata-fields-when-upgrading-to-7-1-x/187081>\
**Category:** Beats\
**Tags:** beats-development\
**Created:** [June 24, 2019, 8:36am UTC](https://discuss.elastic.co/t/empty-metadata-fields-when-upgrading-to-7-1-x/187081 "2019-06-24T08:36:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![boernd](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@boernd](https://discuss.elastic.co/u/boernd)\
**Post date:** [June 24, 2019, 8:36am UTC](https://discuss.elastic.co/t/empty-metadata-fields-when-upgrading-to-7-1-x/187081/1 "2019-06-24T08:36:36Z")

</div>

Hello,

I'm trying to upgrade my custom beat to 7.1.x (from 6.x) and encounter the issue that some fields of the `@metadata` json are empty:

"@metadata": {  
"beat": "",  
"type": "\_doc",  
"version": ""  
},

I also tested creating a new beat (the countbeat in the developer guide) and experienced the same issue. Are there new config options for how to set this? I did not find anything in the documentation.

---

<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:** [June 25, 2019, 4:51pm UTC](https://discuss.elastic.co/t/empty-metadata-fields-when-upgrading-to-7-1-x/187081/2 "2019-06-25T16:51:15Z")

</div>

Could you please share the debug logs of your Beat?

---

<div class="post-metadata">

**Author:** ![boernd](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@boernd](https://discuss.elastic.co/u/boernd)\
**Post date:** [June 26, 2019, 3:48pm UTC](https://discuss.elastic.co/t/empty-metadata-fields-when-upgrading-to-7-1-x/187081/3 "2019-06-26T15:48:51Z")

</div>

Here you go: [https://gist.github.com/boernd/d4caae8ad7c55a0e209481464c452846](https://gist.github.com/boernd/d4caae8ad7c55a0e209481464c452846)

---

<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:** [July 24, 2019, 3:49pm UTC](https://discuss.elastic.co/t/empty-metadata-fields-when-upgrading-to-7-1-x/187081/4 "2019-07-24T15:49:02Z")

</div>

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