# Beats fields.yml Mapping, How to configure beats to store fields values?

**URL:** <https://discuss.elastic.co/t/beats-fields-yml-mapping-how-to-configure-beats-to-store-fields-values/193831>\
**Category:** Beats\
**Tags:** beats-development\
**Created:** [August 5, 2019, 3:20pm UTC](https://discuss.elastic.co/t/beats-fields-yml-mapping-how-to-configure-beats-to-store-fields-values/193831 "2019-08-05T15:20:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_Barak\_Harari](https://avatars.discourse-cdn.com/v4/letter/_/58f4c7/32.png) [@\_Barak\_Harari](https://discuss.elastic.co/u/_Barak_Harari)\
**Post date:** [August 5, 2019, 3:20pm UTC](https://discuss.elastic.co/t/beats-fields-yml-mapping-how-to-configure-beats-to-store-fields-values/193831/1 "2019-08-05T15:20:58Z")

</div>

Hi

I'm trying to store event values on fields as explain here:  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-store.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-store.html)

setup.template.settings:  
\_source:  
enabled: false

key: beats\_name  
title: beats\_name  
description:  
fields:  
- name: id  
type: integer  
store: true  
required: true

ES 7.3, libbeats 7.2  
works with curl..

---

<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:** [September 2, 2019, 3:22pm UTC](https://discuss.elastic.co/t/beats-fields-yml-mapping-how-to-configure-beats-to-store-fields-values/193831/2 "2019-09-02T15:22:13Z")

</div>

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