Always refer to the documentation in master for the latest information about contributing to Beats.
Building and Running the Beatedit
To compile the Beat, make sure you are in the Beat directory ($GOPATH/src/github.com/{user}/countbeat
) and run:
make
Running this command creates the binary called countbeat
in $GOPATH/src/github.com/{user}/countbeat
.
Now run the Beat:
./countbeat -e -d "*"
The command automatically loads the default config file, countbeat.yml
, and sends debug output to the console.
You can stop the Beat by pressing Ctrl+C
.