Splunk Dev

Can we enable Compression algorithms snappy,zlib,std on Splunk HEC

anping_li
New Member

The vector Splunk_hec_log [1] support compression algorithms gzip,snappy,zlib and zstd.   It seems the server splunk HEC  only supports gzip(I am using docker.io/splunk/splunk 9.2).  Does splunk HEC  support snappy,zlib or zstd? Is this possible to enable this algorithms beside of gzip?  

 

[1] https://vector.dev/docs/reference/configuration/sinks/splunk_hec_logs/#compression

0 Karma

PickleRick
SplunkTrust
SplunkTrust

As my colleague used to say - "Try and see". Set up a HEC input and try to push a few requests using different compression methods.

As far as I remember, there are no settings for selectively enabling/disabling compression (methods) on HTTP level so you'll either hit something that Splunk can process or you'll get an error.

0 Karma
Get Updates on the Splunk Community!

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...