Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 2.13 KB

README.md

File metadata and controls

68 lines (52 loc) · 2.13 KB

meta-elastic-beats

This is a recipe meta layer for Yocto that builds the official elastic beats found here. Elastic beats are lightweight data clients that can send data to various tools of the Elastic Stack, like Elasticsearch, Kibana and Logstash.

Supported beats

The supported beats currently are:

Supported versions

The master repo recipes point always to the latest master SRCREV = "${AUTOREV}", but there are tags in the repo for specific and tested versions. The supported versions (and repo tags) are:

  • v7.9.0

Adding the meta-elastic-beats layer to your build

To add the layer to your build :

bitbake-layers add-layer meta-elastic-beats

Or just simply add the layer manually to your bblayers.conf file.

Adding beats to your image

To add a beat in your image then add one of the following recipes to your IMAGE_INSTALL:

elastic-beats-auditbeat
elastic-beats-filebeat
elastic-beats-heartbeat
elastic-beats-journalbeat
elastic-beats-metricbeat
elastic-beats-packetbeat

For example:

IMAGE_INSTALL += "elastic-beats-journalbeat elastic-beats-metricbeat"

The configuration yaml files are the default ones. You need to override them with a custom recipe and use your own for your specific usage. The configuration Yaml files are located in meta-elastic-beats/recipes-devops/elastic-beats/elastic-beats.

Known issues

The golang build changes the files in pkg/mod in to read only. This means that bitbake is not able to delete those files if the build fails and you need to delete the folder manually. Normally this is handled in meta-elastic-beats/recipes-devops/elastic-beats/elastic-beats.inc with the go clean -modcache comamnd.

Maintainer

Dimitris Tassopoulos dimtass@gmail.com