Metricbeat is a lightweight shipper that you can install on your servers to periodically collect metrics from the operating system and from services running on the server. Metricbeat takes the metrics and statistics that it collects and ships them to the output that you specify, such as Elasticsearch or Logstash.
To include Metricbeat in the stack, run Docker Compose from the root of the repository with an additional command line
argument referencing the
$ docker-compose -f docker-compose.yml -f extensions/metricbeat/metricbeat-compose.yml up
Any change to the Metricbeat configuration requires a restart of the Metricbeat container:
$ docker-compose -f docker-compose.yml -f extensions/metricbeat/metricbeat-compose.yml restart metricbeat
Please refer to the following documentation page for more details about how to configure Metricbeat inside a Docker container: Run Metricbeat on Docker.