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

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

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..