# Missing files after filebeat compile

**URL:** <https://discuss.elastic.co/t/missing-files-after-filebeat-compile/227855>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 14, 2020, 6:11am UTC](https://discuss.elastic.co/t/missing-files-after-filebeat-compile/227855 "2020-04-14T06:11:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![craigothy](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@craigothy](https://discuss.elastic.co/u/craigothy)\
**Post date:** [April 14, 2020, 6:11am UTC](https://discuss.elastic.co/t/missing-files-after-filebeat-compile/227855/1 "2020-04-14T06:11:28Z")

</div>

When I clone the v7.6.2 tagged branch:

```auto
git clone --single-branch --branch v7.6.2 https://github.com/elastic/beats ${GOPATH}/src/github.com/elastic/beats

```

And do a `mage package` in the x-pack/filebeat directory, everything builds just fine but when I install the .deb package, I see that the /etc/filebeat directory is empty and none of the /etc/filebeat/modules.d files are present. Any ideas what the problem might be? Thank you.

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [April 14, 2020, 9:04am UTC](https://discuss.elastic.co/t/missing-files-after-filebeat-compile/227855/2 "2020-04-14T09:04:31Z")

</div>

Did you check the contents of the .deb package if it's built correctly?

---

<div class="post-metadata">

**Author:** ![craigothy](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@craigothy](https://discuss.elastic.co/u/craigothy)\
**Post date:** [April 14, 2020, 12:50pm UTC](https://discuss.elastic.co/t/missing-files-after-filebeat-compile/227855/4 "2020-04-14T12:50:26Z")

</div>

thank you @mtojek. yes, it built correctly and installs just fine. it just seems as if files are missing from /etc after the install. For example, I don't see:  
/etc/filebeat/fields.yml  
/etc/filebeat/fields.reference.yml  
/etc/filebeat/filebeat.yml  
and the /etc/filebeat/modules.d folder is empty

---

<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:** [May 12, 2020, 12:50pm UTC](https://discuss.elastic.co/t/missing-files-after-filebeat-compile/227855/5 "2020-05-12T12:50:31Z")

</div>

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