Skip to content

Commit

Permalink
Add host.os.codename to fields.yml (#12261) (#12282)
Browse files Browse the repository at this point in the history
The `add_host_metadata` processor adds `host.os.codename` when available (e.g. on Debian). This adds the missing field definition for it to the processor's `fields.yml`.

(cherry picked from commit 08ccdd7)
  • Loading branch information
Christoph Wurm authored May 28, 2019
1 parent 7e5a2ab commit 4ad71b2
Show file tree
Hide file tree
Showing 18 changed files with 111 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Fixed a memory leak when using the add_process_metadata processor under Windows. {pull}12100[12100]
- Fix of docker json parser for missing "log" jsonkey in docker container's log {issue}11464[11464]
- Fixed Beat ID being reported by GET / API. {pull}12180[12180]
- Add host.os.codename to fields.yml. {pull}12261[12261]

*Auditbeat*

Expand Down
12 changes: 12 additions & 0 deletions auditbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6278,6 +6278,18 @@ example: 18D109
OS build information.
--
*`host.os.codename`*::
+
--
type: keyword
example: stretch
OS codename, if any.
--
[[exported-fields-jolokia-autodiscover]]
Expand Down
2 changes: 1 addition & 1 deletion auditbeat/include/fields.go

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions filebeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5894,6 +5894,18 @@ example: 18D109
OS build information.
--
*`host.os.codename`*::
+
--
type: keyword
example: stretch
OS codename, if any.
--
[[exported-fields-icinga]]
Expand Down
2 changes: 1 addition & 1 deletion filebeat/include/fields.go

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions heartbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3544,6 +3544,18 @@ example: 18D109
OS build information.
--
*`host.os.codename`*::
+
--
type: keyword
example: stretch
OS codename, if any.
--
[[exported-fields-http]]
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/include/fields.go

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions journalbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4121,6 +4121,18 @@ example: 18D109
OS build information.
--
*`host.os.codename`*::
+
--
type: keyword
example: stretch
OS codename, if any.
--
[[exported-fields-jolokia-autodiscover]]
Expand Down
2 changes: 1 addition & 1 deletion journalbeat/include/fields.go

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions libbeat/processors/add_host_metadata/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@
example: "18D109"
description: >
OS build information.
- name: os.codename
type: keyword
example: "stretch"
description: >
OS codename, if any.
12 changes: 12 additions & 0 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -11702,6 +11702,18 @@ example: 18D109
OS build information.
--
*`host.os.codename`*::
+
--
type: keyword
example: stretch
OS codename, if any.
--
[[exported-fields-http]]
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/include/fields/fields.go

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions packetbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5544,6 +5544,18 @@ example: 18D109
OS build information.
--
*`host.os.codename`*::
+
--
type: keyword
example: stretch
OS codename, if any.
--
[[exported-fields-http]]
Expand Down
2 changes: 1 addition & 1 deletion packetbeat/include/fields.go

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions winlogbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3611,6 +3611,18 @@ example: 18D109
OS build information.
--
*`host.os.codename`*::
+
--
type: keyword
example: stretch
OS codename, if any.
--
[[exported-fields-jolokia-autodiscover]]
Expand Down
2 changes: 1 addition & 1 deletion winlogbeat/include/fields.go

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions x-pack/functionbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3428,6 +3428,18 @@ example: 18D109
OS build information.
--
*`host.os.codename`*::
+
--
type: keyword
example: stretch
OS codename, if any.
--
[[exported-fields-jolokia-autodiscover]]
Expand Down
2 changes: 1 addition & 1 deletion x-pack/functionbeat/include/fields.go

Large diffs are not rendered by default.

0 comments on commit 4ad71b2

Please sign in to comment.