Can we limit the number of lines per event instead of the max bytes?
Not that I would be aware of. Sounds like <#CGCU5A18B|feature-request>
Btw can easily use Eval or Mask to nuke lines past max_lines.
You might be able to adapt the event breaker Regex to only allow a certain number of newline characters