Skip to content

Commit

Permalink
kibana.stats: extract correct index property (#29622)
Browse files Browse the repository at this point in the history
* kibana.stats: extract correct index property

* changelog entry
  • Loading branch information
klacabane authored Dec 28, 2021
1 parent ffbc6e6 commit 2b23068
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Fix in rename processor to ingest metrics for `write.iops` to proper field instead of `write_iops` in rds metricset. {pull}28960[28960]
- Enhance filter check in kubernetes event metricset. {pull}29470[29470]
- Fix gcp metrics metricset apply aligner to all metric_types {pull}29514[29513]
- Extract correct index property in kibana.stats metricset {pull}29622[29622]

*Packetbeat*

Expand Down
4 changes: 2 additions & 2 deletions metricbeat/module/kibana/stats/_meta/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"host": {
"name": "0.0.0.0"
},
"index": "b04775fa6831",
"index": ".kibana",
"name": "b04775fa6831",
"os": {
"distro": "CentOS",
Expand Down Expand Up @@ -88,4 +88,4 @@
"type": "kibana",
"version": "7.14.0"
}
}
}
2 changes: 1 addition & 1 deletion metricbeat/module/kibana/stats/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var (

"uuid": c.Str("kibana.uuid"),
"name": c.Str("kibana.name"),
"index": c.Str("kibana.name"),
"index": c.Str("kibana.index"),
"host": s.Object{
"name": c.Str("kibana.host"),
},
Expand Down

0 comments on commit 2b23068

Please sign in to comment.