Building filebeat from source

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 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

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

Thanks.

Building Filebeat from source is straightforward.

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

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

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