Kubernetes event 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 event 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-05-15T08:07:12.945Z",
    "beat": {
        "hostname": "hostname",
        "name": "beatname",
        "version": "6.0.0-alpha2"
    },
    "kubernetes": {
        "event": {
            "count": 1,
            "involved_object": {
                "api_version": "extensions",
                "kind": "ReplicaSet",
                "name": "prometheus-2552087900",
                "resource_version": "1047038",
                "uid": "b2f92f14-2ad5-11e7-8cb8-e687a39f6e48"
            },
            "message": "Created pod: prometheus-2552087900-9fxh6",
            "metadata": {
                "generate_name": "",
                "name": "prometheus-2552087900.14bf266355fd16e0",
                "namespace": "default",
                "resource_version": "1047243",
                "self_link": "/api/v1/namespaces/default/events/prometheus-2552087900.14bf266355fd16e0",
                "timestamp": {
                    "created": "2017-05-16T10:30:09-07:00",
                    "deleted": ""
                },
                "uid": "4f3fe524-3a5d-11e7-b8f2-e687a39f6e48"
            },
            "reason": "SuccessfulCreate",
            "timestamp": {
                "first_occurrence": "2017-05-16T17:30:09Z",
                "last_occurrence": "2017-05-16T17:30:09Z"
            },
            "type": "Normal"
        }
    },
    "metricset": {
        "module": "kubernetes",
        "name": "event"
    }
}