I want set the mapping in filebeat config. For example, there is a field name "use_id", I want set the field type to text before create the index in es. But I don't know how to set the config.
I have resolved by using my own fields.yml to set the mapping.