github.com/observiq/carbon@v0.9.11-0.20200820160507-1b872e368a5e/docs/operators/severity_parser.md (about) 1 ## `severity_parser` operator 2 3 The `severity_parser` operator sets the severity on an entry by parsing a value from the record. 4 5 ### Configuration Fields 6 7 | Field | Default | Description | 8 | --- | --- | --- | 9 | `id` | required | A unique identifier for the operator | 10 | `output` | required | The `id` for the operator to send parsed entries to | 11 | `parse_from` | required | A [field](/docs/types/field.md) that indicates the field to be parsed as JSON | 12 | `preserve` | false | Preserve the unparsed value on the record | 13 | `on_error` | `send` | The behavior of the operator if it encounters an error. See [on_error](/docs/types/on_error.md) | 14 | `preset` | `default` | A predefined set of values that should be interpreted at specific severity levels | 15 | `mapping` | | A formatted set of values that should be interpreted as severity levels. | 16 17 18 ### Example Configurations 19 20 Several detailed examples are available [here](/docs/types/severity.md).