Logs from all namespaces are collected when list of namespaces is empty in RHOCP 4

Solution Verified - Updated -

Issue

  • Logs from all namespaces are log forwarder when the list of the namespace for specific projects is empty
  • When using an empty list of namespaces like below, logs from all namespaces are collected:

    apiVersion: logging.openshift.io/v1
    kind: ClusterLogForwarder
    ...
      inputs:
       - name: my-app-logs
         application:
            namespaces: []
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat OpenShift Logging (RHOL)
    • 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content