From 61744bccdde7f80a1bc089e0d2c7e0698e58fb73 Mon Sep 17 00:00:00 2001 From: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com> Date: Mon, 25 Sep 2023 08:28:57 -0600 Subject: [PATCH] Fix example --- 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