Step 4: Starting Topbeatedit

Run Topbeat by issuing the following command:

deb:

sudo /etc/init.d/topbeat start

rpm:

sudo /etc/init.d/topbeat start

mac:

sudo ./topbeat -e -c topbeat.yml -d "publish"

win:

PS C:\Program Files\Topbeat> Start-Service topbeat

By default the log files are stored in C:\ProgramData\topbeat\Logs.

On Windows, statistics about system load and swap usage are currently not captured.

Testing the Topbeat Installationedit

To verify that your server’s statistics are present in Elasticsearch, issue the following command:

curl -XGET 'http://localhost:9200/topbeat-*/_search?pretty'

Make sure that you replace localhost:9200 with the address of your Elasticsearch instance.

On Windows, if you don’t have cURL installed, simply point your browser to the URL.