Skip to content

Commit

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

* changelog entry

(cherry picked from commit 2b23068)

Co-authored-by: Kevin Lacabane <[email protected]>
mergify[bot] and klacabane authored Dec 28, 2021
1 parent 9610e94 commit 32d81e4
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
@@ -101,6 +101,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Use xpack.enabled on SM modules to write into .monitoring indices when using Metricbeat standalone {pull}28365[28365]
- 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*

4 changes: 2 additions & 2 deletions metricbeat/module/kibana/stats/_meta/data.json
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
"host": {
"name": "0.0.0.0"
},
"index": "b04775fa6831",
"index": ".kibana",
"name": "b04775fa6831",
"os": {
"distro": "CentOS",
@@ -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
@@ -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"),
},

0 comments on commit 32d81e4

Please sign in to comment.