IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Getting Ready

edit

All Beats are written in Go, so having Go installed and knowing the basics are prerequisites for understanding this guide.

Before you begin: Set up your Go environment as described under Setting Up Your Dev Environment in Contributing to Beats. The minimum required Go version is 1.15.9.

To build your Beat on a specific version of libbeat, check out the specific branch (7.12 in the example below):

cd ${GOPATH}/src/github.com/elastic/beats
git checkout 7.12