#
parse-lines
Split incoming text by separator (default newline) and emit each line as an event. Maintains a buffer for incomplete lines across chunks. Lines exceeding maxSize are truncated.
This plugin is probably only useful as an example and not recommended for real-world use. It is possible for text from different sources to get mixed up (eg when reading from multiple files).
#
Config
Optional:
separator(string): Line separator (default:\n)maxSize(number): Maximum line length in bytes (default: 65536)
#
Example
pipeline:
parse-lines:
config:
separator: "\n"
maxSize: 1000