Looking at this documentation on adding fields, I see that filebeat can add any custom field by name and value that will be appended to every documented pushed to Elasticsearch by Filebeat.
This is defined in filebeat.yml:
processors:
- add_fields:
target: project
fields:
name: myproject
id: '574734885120952459'
Is there a way, strictly from filebeat.yml, to give fields added here a "type" as well? For example, can I assign "name" to type "keyword" ?