# Building filebeat from source

**URL:** <https://discuss.elastic.co/t/building-filebeat-from-source/135559>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 12, 2018, 2:35pm UTC](https://discuss.elastic.co/t/building-filebeat-from-source/135559 "2018-06-12T14:35:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![George\_Kraft](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/george_kraft/32/42805_2.png) [@George\_Kraft](https://discuss.elastic.co/u/George_Kraft)\
**Post date:** [June 12, 2018, 2:35pm UTC](https://discuss.elastic.co/t/building-filebeat-from-source/135559/1 "2018-06-12T14:35:24Z")

</div>

I would like to build filebeat from source. Here are my requirements.

1. Download [https://github.com/elastic/beats/archive/v6.2.4.tar.gz](https://github.com/elastic/beats/archive/v6.2.4.tar.gz) once.
2. No Internet access during build.
3. phase 1, build Intel image for Linux
4. phase 2, build ARM image for Linux
5. phase 3, bitbake build image (ie., clean bitbake recipe, or bitbake recipe utilizing filebeat's make)
6. contribute bitbake recipe "beats\_6.2.4.bb" to [openembedded.org](http://openembedded.org)

Could someone point me to documentation on how to do some of this?

Thanks.

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [June 12, 2018, 2:45pm UTC](https://discuss.elastic.co/t/building-filebeat-from-source/135559/2 "2018-06-12T14:45:29Z")

</div>

Building Filebeat from source is straightforward.

1. Extract files from the tar.gz file you downloaded
2. Enter filebeat directory
3. Run `make`

---

<div class="post-metadata">

**Author:** ![George\_Kraft](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/george_kraft/32/42805_2.png) [@George\_Kraft](https://discuss.elastic.co/u/George_Kraft)\
**Post date:** [June 12, 2018, 8:27pm UTC](https://discuss.elastic.co/t/building-filebeat-from-source/135559/3 "2018-06-12T20:27:32Z")

</div>

How do I "make install" to get filebeat into /usr/local/bin and all the supporting files into /usr/share/filebeat/?

---

<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:** [July 10, 2018, 8:27pm UTC](https://discuss.elastic.co/t/building-filebeat-from-source/135559/4 "2018-07-10T20:27:47Z")

</div>

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