Skip to main content

stdin

Consumes data piped to stdin, chopping it into individual messages according to the specified scanner.

# Config fields, showing default values
input:
label: ""
stdin:
scanner:
lines: {}

Fields

scanner

The scanner by which the stream of bytes consumed will be broken out into individual messages. Scanners are useful for processing large sources of data without holding the entirety of it within memory. For example, the csv scanner allows you to process individual CSV rows without loading the entire CSV file in memory at once.

Type: scanner
Default: {"lines":{}}
Requires version 4.25.0 or newer