Skip to content

Commit 36c209c

Browse files
Update log6x-input-spec-filter-namespace-container.adoc
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 ~~~
1 parent ae0a873 commit 36c209c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/log6x-input-spec-filter-namespace-container.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ spec:
3232
excludes:
3333
- container: "other-container*" # <3>
3434
namespace: "other-namespace" # <4>
35+
type: application
3536
# ...
3637
----
3738
<1> Specifies that the logs are only collected from these namespaces.

0 commit comments

Comments
 (0)