Kubernetes container metricset

edit

Kubernetes container metricset

edit

This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.

This is the container metricset of the Kubernetes module.

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-04-06T15:29:27.150Z",
    "beat": {
        "hostname": "beathost",
        "name": "beathost",
        "version": "6.0.0-alpha1"
    },
    "kubernetes": {
        "container": {
            "cpu": {
                "usage": {
                    "core": {
                        "ns": 3305756719
                    },
                    "nanocores": 5992
                }
            },
            "logs": {
                "available": {
                    "bytes": 1188063105024
                },
                "capacity": {
                    "bytes": 1197211648000
                },
                "inodes": {
                    "count": 584581120,
                    "free": 584447029,
                    "used": 134091
                },
                "used": {
                    "bytes": 0
                }
            },
            "memory": {
                "available": {
                    "bytes": 0
                },
                "majorpagefaults": 47,
                "pagefaults": 2298,
                "rss": {
                    "bytes": 1441792
                },
                "usage": {
                    "bytes": 7643136
                },
                "workingset": {
                    "bytes": 1466368
                }
            },
            "name": "nginx",
            "rootfs": {
                "available": {
                    "bytes": 64694517760
                },
                "capacity": {
                    "bytes": 142782496768
                },
                "inodes": {
                    "used": 0
                },
                "used": {
                    "bytes": 16777216
                }
            },
            "start_time": "2017-04-03T10:01:56Z"
        },
        "namespace": "ns",
        "node": {
          "name": "localhost"
        },
        "pod": {
            "name": "nginx-3137573019-pcfzh",
        }
    },
    "metricset": {
        "host": "localhost:10255",
        "module": "kubernetes",
        "name": "container",
        "rtt": 650739
    },
    "type": "metricsets"
}