read-stdin

Read from stdin, splitting input on matcher, and emitting each chunk as an event. Shuts down the pipeline on EOF.

Config

Optional:

  • encoding: Input encoding (utf8, ascii, base64)
  • matcher: Regular experssion to split on (default: \r?\n)

Example

pipeline:
  read-stdin:
    config:
      encoding: utf8
      matcher: "\n"