-
Bug
-
Resolution: Done
-
Major
-
None
-
OpenShift 4.14 Async, OpenShift 4.15 Async, OpenShift 4.16 Async, OpenShift 4.17 Async
-
0
-
False
-
-
False
-
-
-
Critical
There is an error in the code block for the documentation of RHOL 6.0 Filters and Pipeline Configuration:
apiVersion: observability.openshift.io/v1
kind: ClusterLogForwarder
spec:
filters:
- name: detectexception
type: detectMultilineException
- name: parse-json
type: parse
- name: labels
type: openShiftLabels <-Change it to openshiftLabels
openShiftLabels: <-Change it to openshiftLabels
foo: bar
pipelines:
- name: application-logs
filterRefs:
- detectexception
- labels
- parse-json
- openShiftLabels is wrongly mentioned here.
- It should be openshiftLabels, not openShiftLabels.
spec.filters[0].type: Unsupported value: "openShiftLabels": supported values: "openshiftLabels",
Kindly let me know if you need any other information.
It needs to look like the following:
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