compression

Compresses the HTTP body with gzip when set to gzip.

This parameter applies to omclickhouse: ClickHouse Output Module.

Name:

compression

Scope:

action

Type:

word

Default:

off

Required?:

no

Introduced:

not specified

Description

off sends the body as plain text. gzip compresses it, sets Content-Encoding: gzip, and adds enable_http_compression=1 to the request URL. The compressed bytes are a gzip stream. Other names are rejected at configuration time.

The parameter applies to both format="values" and format="jsoneachrow".

Action usage

module(load="omclickhouse")
action(type="omclickhouse" compression="gzip")

YAML usage

actions:
  - type: omclickhouse
    format: jsoneachrow
    table: rsyslog.events
    template: ClickHouseJson
    compression: gzip

See also

See also omclickhouse: ClickHouse Output 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.