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:
Gildas Le Nadan 2016-04-13 17:59:05 +10:00 committed by Suyog Rao
parent b22e885a9d
commit 36b3713c84

View file

@ -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" }
} }
} }
---------------------------------- ----------------------------------