From 36b3713c84894aad92f6e6d77677d92c88d6be60 Mon Sep 17 00:00:00 2001 From: Gildas Le Nadan <3ntr0p13+github@gmail.com> Date: Wed, 13 Apr 2016 17:59:05 +1000 Subject: [PATCH] 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 --- docs/static/configuration.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/static/configuration.asciidoc b/docs/static/configuration.asciidoc index db39ef604..9220146cb 100644 --- a/docs/static/configuration.asciidoc +++ b/docs/static/configuration.asciidoc @@ -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" } } } ----------------------------------