From c23128b714fd9f1f71138edd1cb28413dc436d09 Mon Sep 17 00:00:00 2001 From: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com> Date: Mon, 25 Sep 2023 09:50:16 -0600 Subject: [PATCH] [processor/transform] Fix example (#27098) --- processor/transformprocessor/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/processor/transformprocessor/README.md b/processor/transformprocessor/README.md index 99bfc1767829..b8973698f369 100644 --- a/processor/transformprocessor/README.md +++ b/processor/transformprocessor/README.md @@ -421,9 +421,9 @@ transform: log_statements: - context: log statements: - - set(severity_number, SEVERITY_NUMBER_INFO) where IsString(body) and IsMatch(body, "\sINFO\s") - - set(severity_number, SEVERITY_NUMBER_WARN) where IsString(body) and IsMatch(body, "\sWARN\s") - - set(severity_number, SEVERITY_NUMBER_ERROR) where IsString(body) and IsMatch(body, "\sERROR\s") + - set(severity_number, SEVERITY_NUMBER_INFO) where IsString(body) and IsMatch(body, "\\sINFO\\s") + - set(severity_number, SEVERITY_NUMBER_WARN) where IsString(body) and IsMatch(body, "\\sWARN\\s") + - set(severity_number, SEVERITY_NUMBER_ERROR) where IsString(body) and IsMatch(body, "\\sERROR\\s") ``` ## Contributing