Skip to content

Commit

Permalink
kibana.stats: extract correct index property
Browse files Browse the repository at this point in the history
  • Loading branch information
klacabane committed Dec 28, 2021
1 parent ffbc6e6 commit e0b76e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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 e0b76e6

Please sign in to comment.