From 66645c3dffac1b1649f9e042f1cf6745aa417be9 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 3 Oct 2024 20:26:27 +0200 Subject: [PATCH] docs/VictoriaLogs/LogsQL.md: remove redundant `replace` word in examples for conditional replace Thanks to @p5i for the bugreport at https://github.com/VictoriaMetrics/VictoriaMetrics/issues/7168 --- docs/VictoriaLogs/LogsQL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/VictoriaLogs/LogsQL.md b/docs/VictoriaLogs/LogsQL.md index 78779a60b..fa37a3f73 100644 --- a/docs/VictoriaLogs/LogsQL.md +++ b/docs/VictoriaLogs/LogsQL.md @@ -2041,7 +2041,7 @@ The `` can contain arbitrary [filters](#filters). For example, the foll only if `user_type` field equals to `admin`: ```logsql -_time:5m | replace if (user_type:=admin) replace ("secret", "***") at password +_time:5m | replace if (user_type:=admin) ("secret", "***") at password ``` ### replace_regexp pipe @@ -2093,7 +2093,7 @@ The `` can contain arbitrary [filters](#filters). For example, the foll with `***` in the `foo` field only if `user_type` field equals to `admin`: ```logsql -_time:5m | replace_regexp if (user_type:=admin) replace ("password: [^ ]+", "") at foo +_time:5m | replace_regexp if (user_type:=admin) ("password: [^ ]+", "") at foo ``` ### sort pipe