LokiStack as logStore, custom outputs in ClusterLogForwarder always return "degraded pipelines: invalid [], degraded [application-logs]' error

Solution Verified - Updated -

Issue

  • ClusterLogForwarder shows a pipeline as invalid while using Loki operator and forwarding logs to external log aggregator:
--------- Output Omitted ---------
spec:
  outputs:
    - name: external-fluentd
      type: fluentdForward
      url: 'tcp://abc.example.com:24224'
  pipelines:
    - inputRefs:
        - application
      name: application-logs
      outputRefs:
        - default
        - application-logs
status:
  conditions:
    - lastTransitionTime: '2022-09-13T15:10:44Z'
      message: 'degraded pipelines: invalid [], degraded [application-logs]'
      reason: Invalid
      status: 'True'
      type: Degraded
--------- Output Omitted ---------
  • Unable to forward logs to external log aggregator when using Loki operator.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.9+
  • Red Hat OpenShift Logging
    • 5.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