Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-5162

Container logs from infra projects are collected when setting `namespaces: ["*"]` or `containers.include: ["*"]`.

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • OBSDA-228 - Log filtering and collecting
    • NEW
    • Release Note Not Required
    • Log Collection - Sprint 250, Log Collection - Sprint 251

      Description of problem:

      Create CLF with:

      apiVersion: logging.openshift.io/v1
      kind: ClusterLogForwarder
      metadata:
        name: instance
        namespace: openshift-logging
      spec:
        inputs:
        - application:
            namespaces:
            - "*"
          name: app-new
        pipelines:
        - name: forward-to-default
          inputRefs:
          - app-new
          outputRefs:
          - default 

      or

      apiVersion: logging.openshift.io/v1
      kind: ClusterLogForwarder
      metadata:
        name: instance
        namespace: openshift-logging
      spec:
        inputs:
        - application:
            containers:
              include:
              - "*"
          name: app-new
        pipelines:
        - name: forward-to-default
          inputRefs:
          - app-new
          outputRefs:
          - default 

      Container logs from infra projects are collected.  

      Version-Release number of selected component (if applicable):

      cluster-logging-rhel9-operator/images/v5.9.0-72

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create CLF as above
      2. check logs in log store

      Actual results:

      Container logs from infra projects are collected.

      Expected results:

      Container logs from infra projects should not be collected.

      Additional info:

              cahartma@redhat.com Casey Hartman
              qitang@redhat.com Qiaoling Tang
              Qiaoling Tang Qiaoling Tang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: