New

The executive guide to generative AI

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

Building and Running the Beat

edit

To compile the Beat, make sure you are in the Beat directory ($GOPATH/src/github.com/{user}/countbeat) and run:

mage build

we don’t support the -j option for make at the moment.

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.

Was this helpful?
Feedback