# FileBeat make update fails for new custom module

**URL:** <https://discuss.elastic.co/t/filebeat-make-update-fails-for-new-custom-module/233264>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 19, 2020, 7:53am UTC](https://discuss.elastic.co/t/filebeat-make-update-fails-for-new-custom-module/233264 "2020-05-19T07:53:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![seshagiriSriram](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seshagirisriram/32/68607_2.png) [@seshagiriSriram](https://discuss.elastic.co/u/seshagiriSriram)\
**Post date:** [May 19, 2020, 7:53am UTC](https://discuss.elastic.co/t/filebeat-make-update-fails-for-new-custom-module/233264/1 "2020-05-19T07:53:52Z")

</div>

I have followed the instructions [here](https://www.elastic.co/guide/en/beats/devguide/current/filebeat-modules-devguide.html): [https://www.elastic.co/guide/en/beats/devguide/current/filebeat-modules-devguide.html](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:

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 16, 2020, 7:53am UTC](https://discuss.elastic.co/t/filebeat-make-update-fails-for-new-custom-module/233264/2 "2020-06-16T07:53:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
