docs/VictoriaLogs/LogsQL.md: remove redundant replace word in examples for conditional replace
Some checks failed
publish-docs / Build (push) Waiting to run
build / Build (push) Has been cancelled
CodeQL Go / Analyze (push) Has been cancelled
main / lint (push) Has been cancelled
main / test (test-full) (push) Has been cancelled
main / test (test-full-386) (push) Has been cancelled
main / test (test-pure) (push) Has been cancelled

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`: only if `user_type` field equals to `admin`:
```logsql ```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 ### 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`: with `***` in the `foo` field only if `user_type` field equals to `admin`:
```logsql ```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 ### sort pipe