# 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. !!!warning 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`) - `max-size` (number): Maximum line length in bytes (default: 65536) ## Example ```yaml pipeline: parse-lines: config: separator: "\n" max-size: 1000 ```