1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/observability
Prithviraj Patil 617de4aad3 ClusterLogForwarder example in About logging 6.0 section is not defined properly
ClusterLogForwarder example in About logging 6.0 section is not defined properly

Inside About Logging 6.0 section in Quick Start, the step number 9." Create a ClusterLogForwarder CR to configure log forwarding is not defined properly.

Link:
https://docs.openshift.com/container-platform/4.17/observability/logging/logging-6.0/log6x-about.html#quick-start

Current Configuration:
~~~
spec:
  serviceAccount:
    name: collector
  outputs:
  - name: default-lokistack
    type: lokiStack
    lokiStack:
      target:
        name: logging-loki
        namespace: openshift-logging
    authentication:
      token:
        from: serviceAccount
    tls:
      ca:
        key: service-ca.crt
        configMapName: openshift-service-ca.crt
~~~

Need to perform the following changes:
~~~
spec:
  serviceAccount:
    name: collector
  outputs:
  - name: default-lokistack
    type: lokiStack
    lokiStack:
      target:
        name: logging-loki
        namespace: openshift-logging
      authentication:           <<=== Correct Indentation
        token:                         <<=== Correct Indentation
          from: serviceAccount   <<=== Correct Indentation
    tls:
      ca:
        key: service-ca.crt
        configMapName: openshift-service-ca.crt
~~~
2024-12-12 14:35:50 +00:00
..