Skip to content

Commit

Permalink
[Metricbeat] Fix wrong mapping on "info" subkey (#28782)
Browse files Browse the repository at this point in the history
  • Loading branch information
sayden authored Nov 19, 2021
1 parent 1228d8b commit 07d4e99
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
20 changes: 10 additions & 10 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6736,7 +6736,7 @@ alias to: beat.stats.apm_server.acm.response.errors.unauthorized
--
type: alias

alias to: beat.stats.beat.host
alias to: beat.stats.info.host

--

Expand All @@ -6745,7 +6745,7 @@ alias to: beat.stats.beat.host
--
type: alias

alias to: beat.stats.beat.name
alias to: beat.stats.info.name

--

Expand All @@ -6754,7 +6754,7 @@ alias to: beat.stats.beat.name
--
type: alias

alias to: beat.stats.beat.type
alias to: beat.stats.info.type

--

Expand All @@ -6763,7 +6763,7 @@ alias to: beat.stats.beat.type
--
type: alias

alias to: beat.stats.beat.uuid
alias to: beat.stats.info.uuid

--

Expand All @@ -6772,7 +6772,7 @@ alias to: beat.stats.beat.uuid
--
type: alias

alias to: beat.stats.beat.version
alias to: beat.stats.info.version

--

Expand Down Expand Up @@ -8273,35 +8273,35 @@ type: long
--


*`beat.stats.beat.name`*::
*`beat.stats.info.name`*::
+
--
type: keyword

--

*`beat.stats.beat.host`*::
*`beat.stats.info.host`*::
+
--
type: keyword

--

*`beat.stats.beat.type`*::
*`beat.stats.info.type`*::
+
--
type: keyword

--

*`beat.stats.beat.uuid`*::
*`beat.stats.info.uuid`*::
+
--
type: keyword

--

*`beat.stats.beat.version`*::
*`beat.stats.info.version`*::
+
--
type: keyword
Expand Down
10 changes: 5 additions & 5 deletions metricbeat/module/beat/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,19 +305,19 @@
fields:
- name: host
type: alias
path: beat.stats.beat.host
path: beat.stats.info.host
- name: name
type: alias
path: beat.stats.beat.name
path: beat.stats.info.name
- name: type
type: alias
path: beat.stats.beat.type
path: beat.stats.info.type
- name: uuid
type: alias
path: beat.stats.beat.uuid
path: beat.stats.info.uuid
- name: version
type: alias
path: beat.stats.beat.version
path: beat.stats.info.version
- name: metrics
type: group
fields:
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/beat/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion metricbeat/module/beat/stats/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
type: long
- name: unauthorized
type: long
- name: beat
- name: info
type: group
fields:
- name: name
Expand Down

0 comments on commit 07d4e99

Please sign in to comment.