mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
Correct syntax in the conditional mutate example
The example as an incorrect syntax. As per https://www.elastic.co/guide/en/logstash/current/plugins-filters-mutate.html#plugins-filters-mutate-remove_field it should be `remove_field` and not `remove` Fixes #5104
This commit is contained in:
parent
224263c5b5
commit
1a24e0b1cc
1 changed files with 1 additions and 1 deletions
2
docs/static/configuration.asciidoc
vendored
2
docs/static/configuration.asciidoc
vendored
|
@ -387,7 +387,7 @@ For example, the following conditional uses the mutate filter to remove the fiel
|
|||
----------------------------------
|
||||
filter {
|
||||
if [action] == "login" {
|
||||
mutate { remove => "secret" }
|
||||
mutate { remove_field => "secret" }
|
||||
}
|
||||
}
|
||||
----------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue