From cca3c36ecae8fc5ef550f1dc47656275b90e9f73 Mon Sep 17 00:00:00 2001 From: Fae Charlton Date: Thu, 6 Feb 2020 19:43:26 -0500 Subject: [PATCH] Include document_id in decode_json_fields allowed fields (#16156) (cherry picked from commit 64713f93294373bcb4cbbbc8fa63726c5484685d) --- libbeat/processors/actions/decode_json_fields.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbeat/processors/actions/decode_json_fields.go b/libbeat/processors/actions/decode_json_fields.go index 86712a81fee..078ec38f1cc 100644 --- a/libbeat/processors/actions/decode_json_fields.go +++ b/libbeat/processors/actions/decode_json_fields.go @@ -68,7 +68,7 @@ func init() { processors.RegisterPlugin("decode_json_fields", checks.ConfigChecked(NewDecodeJSONFields, checks.RequireFields("fields"), - checks.AllowedFields("fields", "max_depth", "overwrite_keys", "add_error_key", "process_array", "target", "when"))) + checks.AllowedFields("fields", "max_depth", "overwrite_keys", "add_error_key", "process_array", "target", "when", "document_id"))) jsprocessor.RegisterPlugin("DecodeJSONFields", NewDecodeJSONFields) }