docker-elk/extensions/heartbeat
Antoine Cotten 141b38a083
feat(ext/metricbeat): Further drop perms for monitoring
The built-in 'remote_monitoring_user' has full permissions on monitoring
indices, which is more than Metricbeat needs to collect metrics from
remote components.
2022-11-18 21:47:46 +01:00
..
config feat(ext/beats): Monitor using unprivileged user 2022-11-18 17:10:20 +01:00
.dockerignore feat(ext): Add Heartbeat extension 2022-06-03 17:33:15 +02:00
Dockerfile feat(ext): Add Heartbeat extension 2022-06-03 17:33:15 +02:00
README.md feat(ext/metricbeat): Further drop perms for monitoring 2022-11-18 21:47:46 +01:00
heartbeat-compose.yml feat(ext/beats): Monitor using unprivileged user 2022-11-18 17:10:20 +01:00

README.md

Heartbeat

Heartbeat is a lightweight daemon that periodically checks the status of your services and determines whether they are available.

Usage

This extension requires the beats_system user to be created and initialized with a password. In case you haven't done that during the initial startup of the stack, please refer to How to re-execute the setup to run the setup container again and initialize this user.

To include Heartbeat in the stack, run Docker Compose from the root of the repository with an additional command line argument referencing the heartbeat-compose.yml file:

$ docker-compose -f docker-compose.yml -f extensions/heartbeat/heartbeat-compose.yml up

Configuring Heartbeat

The Heartbeat configuration is stored in config/heartbeat.yml. You can modify this file with the help of the Configuration reference.

Any change to the Heartbeat configuration requires a restart of the Heartbeat container:

$ docker-compose -f docker-compose.yml -f extensions/heartbeat/heartbeat-compose.yml restart heartbeat

Please refer to the following documentation page for more details about how to configure Heartbeat inside a Docker container: Run Heartbeat on Docker.

See also

Heartbeat documentation