zipLevel¶
If greater than 0, turns on gzip compression of the output file.
This parameter applies to omfile: File Output Module.
- Name:
zipLevel
- Scope:
action
- Type:
integer
- Default:
action=0
- Required?:
no
- Introduced:
at least 5.x, possibly earlier
Description¶
If greater than 0, turns on gzip compression of the output file. The higher the number, the better the compression, but also the more CPU is required for zipping.
Action usage¶
action(type="omfile" zipLevel="...")
Legacy names (for reference)¶
Historic names/directives for compatibility. Do not use in new configs.
$OMFileZipLevel — maps to zipLevel (status: legacy)
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.