Only spec.collection is allowed when using multiple instances of ClusterLogForwarder in RHOCP4

Solution Verified - Updated -

Issue

  • After creating a legacy ClusterLogging Custom Resource (CR), the messages below appears in the instance:

    message: 'validation failed: Only spec.collection is allowed when using multiple instances of ClusterLogForwarder: openshift-logging/<CR name>' 
    
  • The message Only spec.collection is allowed when using multiple instances of ClusterLogForwarder appears in the CR definition.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat Openshift Logging (RHOL)
    • 5.8
  • ClusterLogging Custom Resource(CR)

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