-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
OpenShift 4.14 Async, OpenShift 4.15 Async, OpenShift 4.16 Async, OpenShift 4.17 Async
-
False
-
-
False
-
-
The type field in RHOL 6.0 documentation is missing from the Filtering application logs configuration
Filtering application logs at input by including or excluding the namespace or container name
apiVersion: observability.openshift.io/v1 kind: ClusterLogForwarder # ... spec: serviceAccount: name: <service_account_name> inputs: - name: mylogs application: includes: - namespace: "my-project" container: "my-container" excludes: - container: "other-container*" namespace: "other-namespace"
- type field is missing in the above configuration.
- type field filed is required while configuring ClusterLogForwarder with the inputs section.
- spec.inputs.type is required
- type should be `application` here in above configuration.
It needs to look like the following:
apiVersion: observability.openshift.io/v1 kind: ClusterLogForwarder # ... spec: serviceAccount: name: <service_account_name> inputs: - name: mylogs application: includes: - namespace: "my-project" container: "my-container" excludes: - container: "other-container*" namespace: "other-namespace" type: application <<=== Need to add this line