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

compression: none is ignored and defaults to GZIP while Log Forwarding to s3 as output

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • Logging 6.4.z
    • Log Collection
    • None
    • Incidents & Support
    • False
    • Hide

      None

      Show
      None
    • False
    • NEW
    • NEW
    • Bug Fix

      Description of problem:

      While Log forwarding with tuning option like compression set to none (compression: none) , the logs are forwarded as .gz and vector.toml removes the compression block .

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

      Logging Operator -6.4

      How reproducible: 

      can be reproduced with below steps

      Steps to Reproduce:

       Set the tuning option compression to none like below in log forwarder config:  

         outputs:
          - name: s3-1
            ...
              region: us-east-1
              tuning:
                compression: none
              url: https://xxx.amazonaws.com
            type: s3 
      The vector.toml removes the compression block. An example with compression set to none and other options look like below:
       oc get cm collector-config -o json | jq '.data."vector.toml"' -r | grep -i compression
      compression = "gzip" 
      oc get clf -o yaml | grep -i compression compression: none  oc get cm collector-config -o json | jq '.data."vector.toml"' -r | grep -i compression ### There is no output
      

       

      Actual results:

      Logs are in .gzip format at the destination .

      Expected results:

      Logs in uncompressed format at the destination .

      Additional info:

              Unassigned Unassigned
              rhn-support-krg Kruthika G
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: