-
Bug
-
Resolution: Done
-
Normal
-
Logging 5.9.0
-
False
-
-
False
-
NEW
-
NEW
-
Release Note Not Required
-
-
-
Log Collection - Sprint 250
-
Informational
Description of problem:
compression can not be added into vector.toml. Vector can forward logs to Elasticsearch 8 when I set compression=glib or zlib in vector.toml
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
cat <<EOF | oc apply -f -
apiVersion: logging.openshift.io/v1
kind: ClusterLogForwarder
metadata:
name: clf-logs
spec:
inputs:
- application:
namespaces:
- project-qa-1
name: myLogsQA
outputs:
- name: elasticsearch
elasticsearch:
version: 8
secret:
name: to-es-secret
type: elasticsearch
tuning:
compression: 'gzip'
delivery: AtMostOnce
maxWrite: 10M
minRetryDuration: 5
maxRetryDuration: 10
url: https://elasticsearch-server.es-aosqe.svc:9200
pipelines:
- inputRefs:
- myLogsQA
name: pipe1
outputRefs:
- elasticsearch
serviceAccountName: clf-to-es
EOF
- Check the vector.toml
- ...
Actual results:
compression: gzip isn't enabled in vector.toml