compression.driver

Selects the compression driver used by omfwd stream compression.

This parameter applies to omfwd: syslog Forwarding Output Module.

Name:

compression.driver

Scope:

action

Type:

word

Default:

action=zlib

Required?:

no

Introduced:

8.2606.0

Description

compression.driver selects the compression library used when compression.mode="stream:always" is configured. It does not enable compression by itself; set compression.mode and a non-zero zipLevel as needed for the forwarding action.

Accepted values are:

  • zlib: default stream compression driver.

  • zstd: zstd stream compression driver. This requires rsyslog to be built with libzstd support, and the receiver must also use compression.driver="zstd".

The receiver must use the same driver. For imtcp, configure compression.mode="stream:always" and the matching compression.driver on the input.

Action usage

action(
    type="omfwd"
    target="logs.example.com"
    port="514"
    protocol="tcp"
    compression.mode="stream:always"
    compression.driver="zstd"
    zipLevel="3"
)

See also

See also omfwd: syslog Forwarding Output Module and imtcp: TCP Syslog Input Module.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.