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

Openshift Labels type is not defined properly in Logging 6.0 Doc

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False

      The type: openShiftLabels is not correct in Filters and Pipeline ConfigurationĀ section inside Upgrading to Logging 6.0

      This is the example for Openshift Labels type:

      apiVersion: observability.openshift.io/v1
      kind: ClusterLogForwarder
      spec:
        filters:
        - name: detectexception
          type: detectMultilineException
        - name: parse-json
          type: parse
        - name: labels
          type: openShiftLabels
          openShiftLabels:
            foo: bar
        pipelines:
        - name: application-logs
          filterRefs:
          - detectexception
          - labels
          - parse-json 

      But the correct definition should be:

      apiVersion: observability.openshift.io/v1
      kind: ClusterLogForwarder
      spec:
        filters:
        - name: detectexception
          type: detectMultilineException
        - name: parse-json
          type: parse
        - name: labels
          type: openshiftLabels
          openshiftLabels:
            foo: bar
        pipelines:
        - name: application-logs
          filterRefs:
          - detectexception
          - labels
          - parse-json 

      There is a typo with open"S"hiftLabels.

              Unassigned Unassigned
              acandelp Adrian Candel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: