You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type field in RHOL 6.0 documentation is missing from the Filtering application logs configuration.
https://docs.openshift.com/container-platform/4.17/observability/logging/logging-6.0/log6x-clf.html#log6x-input-spec-filter-namespace-container_logging-6x
-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
~~~
0 commit comments