Skip to content

Commit

Permalink
Add .* to kubernetes labels and annotations in fields.yml mapping (#…
Browse files Browse the repository at this point in the history
…13226) (#13287)

* Update labels and annotations object field

(cherry picked from commit 2e4d292)
  • Loading branch information
kaiyan-sheng authored Aug 27, 2019
1 parent ab4eff5 commit 0501702
Show file tree
Hide file tree
Showing 18 changed files with 31 additions and 26 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ https://github.com/elastic/beats/compare/v7.1.1...7.1[Check the HEAD diff]

- Fixed a memory leak when using the add_process_metadata processor under Windows. {pull}12100[12100]
- Fixed Beat ID being reported by GET / API. {pull}12180[12180]
- Fix mapping for kubernetes.labels and kubernetes.annotations in add_kubernetes_metadata. {issue}12638[12638] {pull}13226[13226]

*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 @@ -6318,7 +6318,7 @@ Kubernetes node name
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
type: object
Expand All @@ -6328,7 +6328,7 @@ Kubernetes labels map
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
type: object
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 @@ -6636,7 +6636,7 @@ Kubernetes node name
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
type: object
Expand All @@ -6646,7 +6646,7 @@ Kubernetes labels map
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
type: object
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 @@ -3757,7 +3757,7 @@ Kubernetes node name
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
type: object
Expand All @@ -3767,7 +3767,7 @@ Kubernetes labels map
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
type: object
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 @@ -4161,7 +4161,7 @@ Kubernetes node name
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
type: object
Expand All @@ -4171,7 +4171,7 @@ Kubernetes labels map
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
type: object
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 @@ -11671,7 +11671,7 @@ Kubernetes node name
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
type: object
Expand All @@ -11681,7 +11681,7 @@ Kubernetes labels map
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
type: object
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 @@ -5733,7 +5733,7 @@ Kubernetes node name
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
type: object
Expand All @@ -5743,7 +5743,7 @@ Kubernetes labels map
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
type: object
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 @@ -3651,7 +3651,7 @@ Kubernetes node name
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
type: object
Expand All @@ -3661,7 +3661,7 @@ Kubernetes labels map
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
type: object
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 @@ -3468,7 +3468,7 @@ Kubernetes node name
--
*`kubernetes.labels`*::
*`kubernetes.labels.*`*::
+
--
type: object
Expand All @@ -3478,7 +3478,7 @@ Kubernetes labels map
--
*`kubernetes.annotations`*::
*`kubernetes.annotations.*`*::
+
--
type: object
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 0501702

Please sign in to comment.