Skip to main content

re_match scanner

Split an input stream into segments matching against a regular expression.

# Config fields, showing default values (a scanner is set on an input's scanner field)
re_match:
pattern: "" # No default (required)
max_buffer_size: 65536

Fields

pattern

The pattern to match against.

Type: string

max_buffer_size

Set the maximum buffer size for storing line data, this limits the maximum size that a message can be without causing an error.

Type: int
Default: 65536