I have followed the instructions here: https://www.elastic.co/guide/en/beats/devguide/current/filebeat-modules-devguide.html
create-module, create-fileset and create-fields all work correctly with no errors. make update throws the following error:
PS1># make update
Installing mage v1.9.0 from vendor dir.
/home/ubuntu/.magefile cleaned
mage update
No fields files for module apache2
Generated fields.yml for filebeat to /work/other_source/beats/filebeat/fields.yml
Generated global fields.yml file for filebeat is invalid: yaml: line 5355: did not find expected key
exit status 3
Error: running "go run -mod vendor /work/other_source/beats/libbeat/scripts/cmd/global_fields/main.go -es_beats_path /work/other_source/beats -beat_path /work/other_source/beats/filebeat -out fields.yml module" failed with exit code 1
Makefile:13: recipe for target 'update' failed
make: *** [update] Error 1
OS: Ubuntu 18. Please Help.