This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Kafka partition metricset
editKafka partition metricset
editThis is the partition metricset of the Kafka module.
Configuration
editAs 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.
Metricset
editThe current implementation of the partition metricset fetches the data for all leader partitions. Data for the replicas is not available yet.
This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.
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.partition", "duration": 115000, "module": "kafka" }, "kafka": { "broker": { "address": "172.21.0.2:9092", "id": 0 }, "partition": { "id": 0, "offset": { "newest": 1, "oldest": 0 }, "partition": { "insync_replica": true, "is_leader": true, "leader": 0, "replica": 0 }, "topic_broker_id": "0-metricbeat-generate-data-0", "topic_id": "0-metricbeat-generate-data" }, "topic": { "name": "metricbeat-generate-data" } }, "metricset": { "name": "partition", "period": 10000 }, "service": { "address": "172.21.0.2:9092", "type": "kafka" } }