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 224263c5b5
commit 1a24e0b1cc

View file

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