-
Bug
-
Resolution: Done
-
Critical
-
None
-
Logging 6.0
-
2
-
False
-
-
False
-
-
The type: openShiftLabels is not correct in Filters and Pipeline ConfigurationĀ section inside Upgrading to Logging 6.0
This is the example for Openshift Labels type:
apiVersion: observability.openshift.io/v1
kind: ClusterLogForwarder
spec:
filters:
- name: detectexception
type: detectMultilineException
- name: parse-json
type: parse
- name: labels
type: openShiftLabels
openShiftLabels:
foo: bar
pipelines:
- name: application-logs
filterRefs:
- detectexception
- labels
- parse-json
But the correct definition should be:
apiVersion: observability.openshift.io/v1
kind: ClusterLogForwarder
spec:
filters:
- name: detectexception
type: detectMultilineException
- name: parse-json
type: parse
- name: labels
type: openshiftLabels
openshiftLabels:
foo: bar
pipelines:
- name: application-logs
filterRefs:
- detectexception
- labels
- parse-json
There is a typo with open"S"hiftLabels.