# compression.driver

For compressed operation (“zlib mode”), this permits to set the compression driver to be used.

This parameter applies to omfile: File Output Module.

Name:

  compression.driver

Scope:

  module

Type:

  word

Default:

  module=zlib

Required?:

  no

Introduced:

  8.2208.0

## Description

For compressed operation (“zlib mode”), this permits to set the compression driver to be used. Originally, only zlib was supported and still is the default. Since 8.2208.0 zstd is also supported. It provides much better compression ratios and performance, especially with multiple zstd worker threads enabled.

Possible values are: - zlib - zstd

## Module usage

    module(load="builtin:omfile" compression.driver="...")

## See also

See also omfile: File Output Module.

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

Contributing: Source & docs: rsyslog source project

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