Skip to content

ES Beats

Create

Creating New Beat

Examples

Know Errors

bash: mage: command not found

Use vendoring

We recommend to use vendoring for your beat. This means the dependencies are put into your beat folder. The beats team currently uses govendor for vendoring.

govendor init
govendor update +e

This will create a directory vendor inside your repository. To make sure all dependencies for the Makefile commands are loaded from the vendor directory, find the following line in your Makefile:

ES_BEATS=${GOPATH}/src/github.com/elastic/beats

Replace it with:

ES_BEATS=./vendor/github.com/elastic/beats

To Fetch:

govendor fetch  github.com/vmware/govmomi/^ +out