NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Docker container metricsetedit
The Docker container
metricset collects information and statistics about
running Docker containers.
Fieldsedit
For a description of each field in the metricset, see the exported fields section.
Here is an example document generated by this metricset:
{ "@timestamp": "2017-10-12T08:05:34.853Z", "beat": { "hostname": "host.example.com", "name": "host.example.com" }, "docker": { "container": { "command": "go test -tags=integration github.com/elastic/beats/metricbeat/module/... -data", "created": "2017-12-07T07:20:57.000Z", "id": "d88e67bb6961a5bb70c1c1c48094c6030e43768eed91e827f437111888f9967e", "image": "metricbeatsnapshotnoxpack700alpha1d71419298b58ed8b0a5b60a6d1e4a476ffaf80a8_beat", "ip_addresses": [ "172.18.0.27" ], "labels": { "com_docker_compose_container-number": "1", "com_docker_compose_oneoff": "True", "com_docker_compose_project": "metricbeatsnapshotnoxpack700alpha1d71419298b58ed8b0a5b60a6d1e4a476ffaf80a8", "com_docker_compose_service": "beat", "com_docker_compose_version": "1.16.1" }, "name": "metricbeatsnapshotnoxpack700alpha1d71419298b58ed8b0a5b60a6d1e4a476ffaf80a8_beat_run_1", "size": { "root_fs": 0, "rw": 0 }, "status": "Up 6 minutes (healthy)" } }, "metricset": { "host": "/var/run/docker.sock", "module": "docker", "name": "container", "rtt": 115 } }