Skip to content

Commit

Permalink
severity_parser: update docs to correct overwrite_text name
Browse files Browse the repository at this point in the history
`overwrite_text` is correct name
  • Loading branch information
davispuh authored Oct 30, 2024
1 parent 2e60343 commit 129b067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/stanza/docs/operators/severity_parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The `severity_parser` operator sets the severity on an entry by parsing a value
| `on_error` | `send` | The behavior of the operator if it encounters an error. See [on_error](../types/on_error.md). |
| `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. |
| `overwrite_with` | `false` | If `true`, the severity text will be set to the [standard short name](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/data-model.md#displaying-severity) corresponding to the severity number. |
| `overwrite_text` | `false` | If `true`, the severity text will be set to the [standard short name](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/data-model.md#displaying-severity) corresponding to the severity number. |
| `if` | | An [expression](../types/expression.md) that, when set, will be evaluated to determine whether this operator should be used for the given entry. This allows you to do easy conditional parsing without branching logic with routers. |

### Example Configurations
Expand Down

0 comments on commit 129b067

Please sign in to comment.