Skip to content

Commit 78841fa

Browse files
authored
Merge pull request #131 from jcantrill/log2972
LOG-2972: Update templates so labels and namespace_labels are nested …
2 parents 2452abb + 058861e commit 78841fa

File tree

1 file changed

+6
-30
lines changed

1 file changed

+6
-30
lines changed

namespaces/kubernetes.yml

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -55,40 +55,16 @@ namespace:
5555
type: group
5656
description: >
5757
Annotations associated with the OpenShift object
58-
5958
- name: labels
60-
type: group
59+
type: nested
6160
description: >
6261
Labels attached to the OpenShift object
6362
Each label name is a subfield of labels field.
64-
Each label name is de-dotted: dots in the name are replaced with
65-
underscores.
66-
fields:
67-
- name: deployment
68-
type: keyword
69-
example: logging-kibana-3
70-
description: >
71-
The deployment associated with this Kubernetes object
72-
- name: deploymentconfig
73-
type: keyword
74-
example: logging-kibana
75-
description: >
76-
The deploymentconfig associated with this Kubernetes object
77-
fields:
78-
- name: raw
79-
ignore_above: 64
80-
type: keyword
81-
- name: component
82-
type: keyword
83-
example: kibana
84-
description: >
85-
The component associated with this Kubernetes object
86-
- name: provider
87-
type: keyword
88-
example: openshift
89-
description: >
90-
The provider associated with this Kubernetes object
91-
63+
- name: namespace_labels
64+
type: nested
65+
description: >
66+
Labels attached to the namespace in which the openshift object is deployed
67+
Each label name is a subfield of labels field.
9268
- name: event
9369
type: group
9470
description: >

0 commit comments

Comments
 (0)