Compression encodes data into a representation that uses less transmission capacity. In HTTP output, enable it with the compress property; gzip is the available option, and both endpoints must support it. section 5.8
Compressing Fluent Bit HTTP output
Configure Fluent Bit's HTTP output with compression enabled and gzip selected when sending substantial JSON payloads. This is especially useful when traffic crosses data centers or passes through a proxy. section 5.8
Listing 5.10 HTTP output example: http-output.conf
[SERVICE] flush 1 log_level error [INPUT] name http listen 0.0.0.0 port 9881 tag http-in [OUTPUT] match * name http #1 port 8080 #2 host 127.0.0.1 uri /simple #3 format json #4 header fluentbit http #5 json_date_format iso8601 #6
Inspect the HTTP output configuration alongside compression-related options such as format, headers, and destination settings. section 5.8










