Skip to content

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #85763

/assign sheriff-rh

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
~~~
@openshift-ci-robot
Copy link

openshift-ci-robot commented Dec 5, 2024

@openshift-cherrypick-robot: Ignoring requests to cherry-pick non-bug issues: OBSDOCS-1518

In response to this:

This is an automated cherry-pick of #85763

/assign sheriff-rh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 5, 2024
Copy link

openshift-ci bot commented Dec 5, 2024

@openshift-cherrypick-robot: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@sheriff-rh sheriff-rh merged commit a5081ca into openshift:enterprise-4.18 Dec 5, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants