mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-27 02:46:47 +01:00
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
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:
parent
155089afbf
commit
66645c3dff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user