Uploaded image for project: 'Observability Documentation'
  1. Observability Documentation
  2. OBSDOCS-1702

Update the example for log6x-upgrading-to-6.html#red-hat-managed-elasticsearch

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • Logging 6.0
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      https://docs.openshift.com/container-platform/4.17/observability/logging/logging-6.0/log6x-upgrading-to-6.html#red-hat-managed-elasticsearch

      According to https://issues.redhat.com/browse/LOG-6623, we should provide a new example as below

      kind: ClusterLogForwarder
      metadata:
        name: instance
      spec:
        outputs:
        - name: default-elasticsearch-app
          type: elasticsearch
          elasticsearch:
            url: https://elasticsearch:9200
            version: 6
            index: 'app-write'
          tls:
            ca:
              key: ca-bundle.crt
              secretName: collector
            certificate:
              key: tls.crt
              secretName: collector
            key:
              key: tls.key
              secretName: collector
        - name: default-elasticsearch-infra
          type: elasticsearch
          elasticsearch:
            url: https://elasticsearch:9200
            version: 6
            index: 'infra-write'
          tls:
            ca:
              key: ca-bundle.crt
              secretName: collector
            certificate:
              key: tls.crt
              secretName: collector
            key:
              key: tls.key
              secretName: collector
        pipelines:
        - name: pipe1
          outputRefs:
          - default-elasticsearch-app
          inputRefs:
          - application
        - name: pipe2
          outputRefs:
          - default-elasticsearch-infra
          inputRefs:
          - infrastructure
        serviceAccount:
          name: logcollector
      

              Unassigned Unassigned
              rhn-support-anli Anping Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: