Kafka partition metricsetedit

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 partition metricset of the Kafka module.


As the partition metricset fetches the data from the complete Kafka cluster, only one connection host has to be defined. Currently if multiple hosts are defined, the data is fetched multiple times. Support for multiple initial connections host is planned to be added in future releases.


The current implementation of the partition metricset fetches the data for all leader partitions. Data for the replicas is not available yet.


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": {
        "partition": {
            "broker": {
                "address": "kafka:9092",
                "id": 0
            "offset": {
                "newest": 0,
                "oldest": 0
            "partition": {
                "id": 0,
                "insync_replica": true,
                "leader": 0,
                "replica": 0
            "topic": {
                "name": "foo-1512631793-855878006"
    "metricset": {
        "host": "kafka:9092",
        "module": "kafka",
        "name": "partition",
        "rtt": 115