Skip to content

Commit

Permalink
Fix kafka dashboard field names: kafka.topic.name & kafka.broker.id. (#…
Browse files Browse the repository at this point in the history
…33555)

* Fix kafka dashboard field names correctly to kafka.topic.name and kafka.partition.id
  • Loading branch information
lalit-satapathy authored Dec 26, 2022
1 parent 3ad4456 commit 2c21577
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ https://github.com/elastic/beats/compare/v8.2.0\...main[Check the HEAD diff]
- Add GCP CloudSQL region filter {pull}32943[32943]
- Fix logstash cgroup mappings {pull}33131[33131]
- Remove unused `elasticsearch.node_stats.indices.bulk.avg_time.bytes` mapping {pull}33263[33263]
- Fix kafka dashboard field names {pull}33555[33555]
- Add tags to events based on parsed identifier. {pull}33472[33472]
- Support Oracle-specific connection strings in SQL module {issue}32089[32089] {pull}32293[32293]

*Packetbeat*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"line_width": "1",
"metrics": [
{
"field": "kafka.consumergroup.partition",
"field": "kafka.partition.id",
"id": "61ca57f2-469d-11e7-af02-69e470af7417",
"type": "sum"
},
Expand Down Expand Up @@ -85,4 +85,4 @@
"type": "visualization",
"updated_at": "2021-08-04T16:31:34.185Z",
"version": "WzM5OTMsMV0="
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"filter": {
"language": "lucene",
"query": "(metricset.name: consumergroup) AND NOT kafka.consumergroup.topic.name:__consumer_offsets"
"query": "(metricset.name: consumergroup) AND NOT kafka.topic.name:__consumer_offsets"
},
"gauge_color_rules": [
{
Expand Down Expand Up @@ -61,7 +61,7 @@
"split_color_mode": "rainbow",
"split_mode": "terms",
"stacked": "none",
"terms_field": "kafka.consumergroup.topic",
"terms_field": "kafka.topic.name",
"type": "timeseries"
}
],
Expand All @@ -84,4 +84,4 @@
"type": "visualization",
"updated_at": "2021-08-04T16:31:34.185Z",
"version": "WzM5OTEsMV0="
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"id": "3",
"params": {
"customLabel": "Brokers",
"field": "kafka.partition.broker.id"
"field": "kafka.broker.id"
},
"schema": "metric",
"type": "cardinality"
Expand Down Expand Up @@ -167,4 +167,4 @@
"type": "visualization",
"updated_at": "2021-08-04T16:31:34.185Z",
"version": "WzM5OTIsMV0="
}
}

0 comments on commit 2c21577

Please sign in to comment.