Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingPattern = errors.New("multiline.pattern cannot be empty when pattern based matching is selected") ErrMissingCount = errors.New("multiline.count cannot be empty when count based aggregation is selected") )
Functions ¶
Types ¶
type Config ¶
type Config struct { Type multilineType `config:"type"` Negate bool `config:"negate"` Match string `config:"match"` MaxLines *int `config:"max_lines"` Pattern *match.Matcher `config:"pattern"` Timeout *time.Duration `config:"timeout" validate:"positive"` FlushPattern *match.Matcher `config:"flush_pattern"` LinesCount int `config:"count_lines" validate:"positive"` SkipNewLine bool `config:"skip_newline"` }
Config holds the options of multiline readers.
func DefaultConfig ¶
Click to show internal directories.
Click to hide internal directories.