Skip to content

Commit

Permalink
[Cherry-pick #13226 to 7.3] Add .* to kubernetes labels and annotat…
Browse files Browse the repository at this point in the history
…ions in fields.yml mapping (#13283)

* Add `.*` to kubernetes labels and annotations in fields.yml mapping  (#13226)
  • Loading branch information
kaiyan-sheng authored Aug 27, 2019
1 parent 346523a commit 3090791
Show file tree
Hide file tree
Showing 18 changed files with 32 additions and 27 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Fix `@timestamp` being duplicated in events if `@timestamp` is set in a
processor (or by any code utilizing `PutValue()` on a `beat.Event`).
- Fix install-service.ps1's ability to set Windows service's delay start configuration. {pull}13173[13173]
- Fix `decode_base64_field` processor. {pull}13092[13092], {pull}13144[13144]
- Fix mapping for kubernetes.labels and kubernetes.annotations in add_kubernetes_metadata. {issue}12638[12638] {pull}13226[13226]
- Fix `decode_base64_field` processor. {pull}13092[13092] {pull}13144[13144]

*Auditbeat*

Expand Down
4 changes: 2 additions & 2 deletions auditbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6451,7 +6451,7 @@ type: keyword
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
Kubernetes labels map
Expand All @@ -6461,7 +6461,7 @@ type: object
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
Kubernetes annotations map
Expand Down
2 changes: 1 addition & 1 deletion auditbeat/include/fields.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions filebeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7370,7 +7370,7 @@ type: keyword
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
Kubernetes labels map
Expand All @@ -7380,7 +7380,7 @@ type: object
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
Kubernetes annotations map
Expand Down
2 changes: 1 addition & 1 deletion filebeat/include/fields.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions heartbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3890,7 +3890,7 @@ type: keyword
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
Kubernetes labels map
Expand All @@ -3900,7 +3900,7 @@ type: object
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
Kubernetes annotations map
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/include/fields.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions journalbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4294,7 +4294,7 @@ type: keyword
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
Kubernetes labels map
Expand All @@ -4304,7 +4304,7 @@ type: object
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
Kubernetes annotations map
Expand Down
2 changes: 1 addition & 1 deletion journalbeat/include/fields.go

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions libbeat/processors/add_kubernetes_metadata/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,17 @@
description: >
Kubernetes node name
- name: labels
- name: labels.*
type: object
object_type: keyword
object_type_mapping_type: "*"
description: >
Kubernetes labels map
- name: annotations
- name: annotations.*
type: object
object_type: keyword
object_type_mapping_type: "*"
description: >
Kubernetes annotations map
Expand Down
4 changes: 2 additions & 2 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -13555,7 +13555,7 @@ type: keyword
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
Kubernetes labels map
Expand All @@ -13565,7 +13565,7 @@ type: object
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
Kubernetes annotations map
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/include/fields/fields.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packetbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5866,7 +5866,7 @@ type: keyword
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
Kubernetes labels map
Expand All @@ -5876,7 +5876,7 @@ type: object
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
Kubernetes annotations map
Expand Down
2 changes: 1 addition & 1 deletion packetbeat/include/fields.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions winlogbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3784,7 +3784,7 @@ type: keyword
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
Kubernetes labels map
Expand All @@ -3794,7 +3794,7 @@ type: object
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
Kubernetes annotations map
Expand Down
2 changes: 1 addition & 1 deletion winlogbeat/include/fields.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions x-pack/functionbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3601,7 +3601,7 @@ type: keyword
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
Kubernetes labels map
Expand All @@ -3611,7 +3611,7 @@ type: object
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
Kubernetes annotations map
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 3090791

Please sign in to comment.