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",
    "beat": {
        "hostname": "host.example.com",
        "name": "host.example.com"
    },
    "kafka": {
        "broker": {
            "address": "172.18.0.2:9092",
            "id": 0
        },
        "consumergroup": {
            "broker": {
                "address": "172.18.0.2:9092",
                "id": 0
            },
            "client": {
                "host": "172.18.0.1",
                "id": "sarama",
                "member_id": "sarama-fcb5a5db-0474-4f3a-a5af-29e2f14549c5"
            },
            "error": {
                "code": 0
            },
            "id": "test-group",
            "meta": "",
            "offset": -1,
            "partition": 0,
            "topic": "metricbeat-test"
        },
        "partition": {
            "id": 0,
            "topic_id": "0-metricbeat-test"
        },
        "topic": {
            "name": "metricbeat-test"
        }
    },
    "metricset": {
        "host": "kafka:9092",
        "module": "kafka",
        "name": "consumergroup",
        "rtt": 115
    }
}