Kafka consumergroup metricset

edit

Kafka consumergroup metricset

edit

This is the consumergroup metricset of the Kafka module.

This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.

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",
    "event": {
        "dataset": "kafka.consumergroup",
        "duration": 115000,
        "module": "kafka"
    },
    "kafka": {
        "broker": {
            "address": "localhost:32768",
            "id": 0
        },
        "consumergroup": {
            "broker": {
                "address": "localhost:32768",
                "id": 0
            },
            "client": {
                "host": "127.0.0.1",
                "id": "consumer-1",
                "member_id": "consumer-1-a12ac7d4-00aa-45a0-8b35-0a9c6e880bf4"
            },
            "consumer_lag": 1059,
            "error": {
                "code": 0
            },
            "id": "console-consumer-50413",
            "meta": "",
            "offset": -1,
            "partition": 0,
            "topic": "test"
        },
        "partition": {
            "id": 0,
            "topic_id": "0-test"
        },
        "topic": {
            "name": "test"
        }
    },
    "metricset": {
        "name": "consumergroup",
        "period": 10000
    },
    "service": {
        "address": "localhost:32768",
        "type": "kafka"
    }
}