WARNING: Version 5.2 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.
Docker Module
editDocker Module
editThis functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
This module fetches metrics from Docker containers.
Example Configuration
editThe 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"
Metricsets
editThe following metricsets are available: