Step 4: Starting Heartbeatedit

Start Heartbeat by issuing the appropriate command for your platform.


If you use an init.d script to start Heartbeat on deb or rpm, you can’t specify command line flags (see Command Line Options). To specify flags, start Heartbeat in the foreground.


sudo /etc/init.d/heartbeat start


sudo /etc/init.d/heartbeat start


sudo chown root heartbeat.yml 
sudo ./heartbeat -e -c heartbeat.yml -d "publish"

You’ll be running Heartbeat as root, so you need to change ownership of the configuration file (see Config File Ownership and Permissions in the Beats Platform Reference).


PS C:\Program Files\Heartbeat> Start-Service heartbeat

By default, Windows log files are stored in C:\ProgramData\heartbeat\Logs.

Heartbeat is now ready to check the status of your services and send events to your defined output.