Docker network metricset

edit

The Docker network metricset collects network metrics.

Fields

edit

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": {
            "id": "da57ef738524e5a4f6ae17b477f134d30719603db7b96d2c01b6f34010412e66",
            "labels": {
                "build-date": "20170911",
                "com_docker_compose_config-hash": "13a74b89a90a6fdcb6bbbc7eb37b7cb0615bdaf8",
                "com_docker_compose_container-number": "1",
                "com_docker_compose_oneoff": "False",
                "com_docker_compose_project": "metricbeat",
                "com_docker_compose_service": "elasticsearch",
                "com_docker_compose_version": "1.5.0",
                "license": "GPLv2",
                "maintainer": "Elastic Docker Team \u003cdocker@elastic.co\u003e",
                "name": "CentOS Base Image",
                "vendor": "CentOS"
            },
            "name": "metricbeat_elasticsearch_1"
        },
        "network": {
            "in": {
                "bytes": 0,
                "dropped": 0,
                "errors": 0,
                "packets": 0
            },
            "interface": "eth0",
            "out": {
                "bytes": 0,
                "dropped": 0,
                "errors": 0,
                "packets": 0
            }
        }
    },
    "metricset": {
        "host": "/var/run/docker.sock",
        "module": "docker",
        "name": "network",
        "rtt": 115
    }
}