compression

Selects whether omazuredce compresses the HTTP request body and which gzip compression trade-off it uses.

This parameter applies to omazuredce: Azure Monitor Logs Ingestion Output Module.

Name:

compression

Scope:

action

Type:

word

Default:

off

Required?:

no

Introduced:

8.2604.1

Description

Set compression="off" to send the JSON batch uncompressed.

Set compression to one of these values to gzip-compress the JSON request body and send it with Content-Encoding: gzip:

  • speed: use zlib’s fastest compression level for lower CPU cost.

  • default: use zlib’s default compression level to balance CPU usage and compression ratio.

  • size: use zlib’s highest compression level to minimize transfer size at the cost of more CPU time.

omazuredce still applies a max_batch_bytes size check before sending the request, so enabling compression reduces network transfer size without changing the module’s batching semantics.

Action usage

action(type="omazuredce" compression="default" ...)

YAML usage

actions:
  - type: omazuredce
    compression: default

See also

See also omazuredce: Azure Monitor Logs Ingestion 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.