Trying to create a custom module for filebeat. I passed successfully the make create-module, make create-fileset, create and test the pipeline, make create-fields.
When running make update I get the following
mage update
Generated fields.yml for filebeat to /root/go/src/github.com/elastic/beats/filebeat/fields.yml
Generated fields.yml for filebeat to /root/go/src/github.com/elastic/beats/filebeat/fields.yml
>> Building filebeat.yml for linux/amd64
>> Building filebeat.reference.yml for linux/amd64
>> Building filebeat.docker.yml for linux/amd64
Error: parsing modules.d/f5_custom.yml.disabled as YAML: yaml: unmarshal errors:
line 6: cannot unmarshal !!map into string
make: *** [update] Error 1
the file f5_custom.yml.disabled is auto created and contains the following
# Module: f5_custom
# Docs: https://www.elastic.co/guide/en/beats/filebeat/master/filebeat-module-f5_custom.html
- module: f5_custom
# All logs
{fileset}:
enabled: true
# Set custom paths for the log files. If left empty,
# Filebeat will choose the paths depending on your OS.
#var.paths
How can I fix this if the offending file is created automatically?