Skip to main content

decompress scanner

Decompress the stream of bytes according to an algorithm, before feeding it into a child scanner.

# Config fields, showing default values (a scanner is set on an input's scanner field)
decompress:
algorithm: "" # No default (required)
into: {"to_the_end":{}}

Fields

algorithm

One of gzip, pgzip, zlib, bzip2, flate, snappy, lz4, zstd.

Type: string

into

The child scanner to feed the decompressed stream into.

Type: scanner
Default: {"to_the_end":{}}