From 8aa93ecbc4addf782c0e1be2ec5f9eb3a2814d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C4=81vis?= Date: Thu, 31 Oct 2024 14:24:17 +0200 Subject: [PATCH] severity_parser: update docs to correct overwrite_text name (#36103) --- pkg/stanza/docs/types/severity.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/stanza/docs/types/severity.md b/pkg/stanza/docs/types/severity.md index b0a67d6c46e5..d45a83422140 100644 --- a/pkg/stanza/docs/types/severity.md +++ b/pkg/stanza/docs/types/severity.md @@ -13,9 +13,9 @@ Parser operators can parse a severity and attach the resulting value to a log en | `parse_from` | required | The [field](../types/field.md) from which the value will be parsed. | | `preset` | `default` | A predefined set of values that should be interpretted at specific severity levels. | | `mapping` | | A custom set of values that should be interpretted at designated severity levels. | -| `overwrite_with` | `false` | If `true`, the severity text will be set to the [recommeneded 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 [recommeneded short name](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/data-model.md#displaying-severity) corresponding to the severity number. | -Note that by default the severity _text_ will be set to the original value which was interpreted into a severity number. In order to set the severity text to a standard short name (e.g. `ERROR`, `INFO3`, etc.), set `overwrite_with` to `true`. +Note that by default the severity _text_ will be set to the original value which was interpreted into a severity number. In order to set the severity text to a standard short name (e.g. `ERROR`, `INFO3`, etc.), set `overwrite_text` to `true`. ### How severity `mapping` works