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
This commit is contained in:
Aliaksandr Valialkin 2024-10-03 20:26:27 +02:00
parent 155089afbf
commit 66645c3dff
No known key found for this signature in database
GPG key ID: 52C003EE2BCDB9EB

View file

@ -2041,7 +2041,7 @@ The `<filters>` 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 `<filters>` 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