Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiLine ¶
MultiLine processor combining multiple line events into one multi-line event.
Lines to be combined are matched by some configurable predicate using regular expression.
The maximum number of lines to be returned is fully configurable. Even if limits are reached subsequent lines are matched, until event is fully finished.
func NewMultiLine ¶
func NewMultiLine(config *MultilineConfig) (MultiLine, error)
NewMultiLine creates a new multi-line processor combining stream of line events into stream of multi-line events.
func (*MultiLine) Buffer ¶
Adds a message to the MultiLine buffer, returning a flushed message if one is ready
func (*MultiLine) PendingSize ¶
Click to show internal directories.
Click to hide internal directories.