Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-3752

Custerlogforwarder not able to parse JSON to structured object in certain cases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • NEW
    • NEW

      Description of problem:

      Some (not all) messages to kibana are not parsed correctly. 

      Version-Release number of selected component (if applicable):

      OCP 4.10

      How reproducible:

      Reproducable for this specific messages. 

      Steps to Reproduce:

      1. Enable JSON parsing via the ClusterForwarder
      2. Create the example pod via the Openshift webUI and add the logFormat: json
      3. oc rsh to the example pod
      4. Create a file /tmp/badlog.json and add one of the attached logs
      5. Run cat /tmp/badlog.json > /proc/1/fd/1

      Actual results:

      Messages is not parsed.

      Expected results:

      Parsed fields of the message.

      Additional info:

              Unassigned Unassigned
              rhn-support-dkiselev Danila Kiselev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: