Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Beat module mapping on "info" subkey #28782

Merged
merged 1 commit into from
Nov 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6999,7 +6999,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 @@ -7008,7 +7008,7 @@ alias to: beat.stats.beat.host
--
type: alias

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

--

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

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

--

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

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

--

Expand All @@ -7035,7 +7035,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 @@ -8536,35 +8536,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