mirror of
https://github.com/elastic/logstash.git
synced 2025-04-25 07:07:54 -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
b22e885a9d
commit
36b3713c84
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 {
|
filter {
|
||||||
if [action] == "login" {
|
if [action] == "login" {
|
||||||
mutate { remove => "secret" }
|
mutate { remove_field => "secret" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue