Kubernetes state_job metricset

edit

Kubernetes state_job metricset

edit

This is the state_job metricset of the module kubernetes.

Fields

For a description of each field in the metricset, see the exported fields section.

Here is an example document generated by this metricset:

{
    "@timestamp": "2019-03-01T08:05:34.853Z",
    "event": {
        "dataset": "kubernetes.job",
        "duration": 115000,
        "module": "kubernetes"
    },
    "kubernetes": {
        "job": {
            "completions": {
                "desired": 1
            },
            "name": "hello-28192809",
            "owner": {
                "is_controller": "true",
                "kind": "CronJob",
                "name": "hello"
            },
            "parallelism": {
                "desired": 1
            },
            "pods": {
                "active": 0,
                "failed": 0,
                "succeeded": 1
            },
            "status": {
                "complete": "true"
            },
            "time": {
                "completed": "2023-08-09T08:09:04.000Z",
                "created": "2023-08-09T08:09:00.000Z"
            }
        },
        "namespace": "default"
    },
    "metricset": {
        "name": "state_job",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}