Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.38 KB

severity_parser.md

File metadata and controls

20 lines (14 loc) · 1.38 KB

severity_parser operator

The severity_parser operator sets the severity on an entry by parsing a value from the record.

Configuration Fields

Field Default Description
id required A unique identifier for the operator
output required The id for the operator to send parsed entries to
parse_from required A field that indicates the field to be parsed as JSON
preserve false Preserve the unparsed value on the record
on_error send The behavior of the operator if it encounters an error. See on_error
preset default A predefined set of values that should be interpreted at specific severity levels
mapping A formatted set of values that should be interpreted as severity levels.

Example Configurations

Several detailed examples are available here.