WARNING: Version 5.1 of Metricbeat has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
This functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.
This module fetches metrics from Docker containers.
The Docker module supports the standard configuration options that are described in Modules Configuration. Here is an example configuration:
metricbeat.modules: #- module: docker #metricsets: ["cpu", "info", "memory", "network", "diskio", "container"] #hosts: ["unix:///var/run/docker.sock"] #enabled: true #period: 10s # To connect to Docker over TLS you must specify a client and CA certificate. #ssl: #certificate_authority: "/etc/pki/root/ca.pem" #certificate: "/etc/pki/client/cert.pem" #key: "/etc/pki/client/cert.key"
The following metricsets are available: