# Documentation for what goes in fields.yml?

**URL:** <https://discuss.elastic.co/t/documentation-for-what-goes-in-fields-yml/78611>\
**Category:** Beats\
**Created:** [March 14, 2017, 10:24pm UTC](https://discuss.elastic.co/t/documentation-for-what-goes-in-fields-yml/78611 "2017-03-14T22:24:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rzrelyea](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@rzrelyea](https://discuss.elastic.co/u/rzrelyea)\
**Post date:** [March 14, 2017, 10:24pm UTC](https://discuss.elastic.co/t/documentation-for-what-goes-in-fields-yml/78611/1 "2017-03-14T22:24:13Z")

</div>

I've read the [blog on how to build lsbeat](https://www.elastic.co/blog/build-your-own-beat) and I've gone through the [tutorial on creating a custom beat](https://www.elastic.co/guide/en/beats/libbeat/current/new-beat.html), but I can't seem to find documentation on what needs to go into `_meta\fields.yml`. I'm not sure if the [documentation for metricbeat fields.yml](https://www.elastic.co/guide/en/beats/metricbeat/5.2/creating-metricbeat-module.html#_fields_yml_2) applies since my beat doesn't have modules. I've looked at other community beats and some seem to include @timestamp and count while others only seem to have only the fields that are specific to the custom beat and don't include @timestamp. Is this documented outside of the beats how-to information? If not, what is the format of fields.yml supposed to be?

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [March 27, 2017, 4:51pm UTC](https://discuss.elastic.co/t/documentation-for-what-goes-in-fields-yml/78611/2 "2017-03-27T16:51:23Z")

</div>

fields.yml as documented can be used on global level as well. e.g. the key just just a name.

---

<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 5, 2017, 9:49pm UTC](https://discuss.elastic.co/t/documentation-for-what-goes-in-fields-yml/78611/3 "2017-07-05T21:49:45Z")

</div>


