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

Incorrect code block mentioned for RHOL 6.0 Filters and Pipeline Configuration

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Critical

      There is an error in the code block for the documentation of RHOL 6.0 Filters and Pipeline Configuration:

      6.0 Filter Configuration

       

      apiVersion: observability.openshift.io/v1
      kind: ClusterLogForwarder
      spec:
        filters:
        - name: detectexception
          type: detectMultilineException
        - name: parse-json
          type: parse
        - name: labels
          type: openShiftLabels  <-Change it to openshiftLabels                    
          openShiftLabels:       <-Change it to openshiftLabels
             foo: bar
        pipelines:
        - name: application-logs
          filterRefs:
          - detectexception
          - labels
          - parse-json
      • openShiftLabels is wrongly mentioned here.
      • It should be openshiftLabels, not openShiftLabels.
      spec.filters[0].type: Unsupported value: "openShiftLabels": supported values: "openshiftLabels",

      Kindly let me know if you need any other information.

       

      It needs to look like the following:

      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

              rhn-support-pripatil Prithviraj Patil
              rhn-support-pripatil Prithviraj Patil
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: