stdin

Consumes data piped to stdin as line delimited messages.

# Common config fields, showing default values
input:
stdin: {}

If the multipart option is set to true then lines are interpretted as message parts, and an empty line indicates the end of the message.

If the delimiter field is left empty then line feed (\n) is used.

Fields

multipart

Whether messages should be consumed as multiple parts. If so, each line is consumed as a message parts and the full message ends with an empty line.

Type: bool
Default: false

max_buffer

The maximum message buffer size. Must exceed the largest message to be consumed.

Type: number
Default: 1000000

delimiter

The delimiter to use to detect the end of each message. If left empty line breaks are used.

Type: string
Default: ""