Skip to content

Commit

Permalink
Include document_id in decode_json_fields allowed fields (elastic#16156)
Browse files Browse the repository at this point in the history
(cherry picked from commit 64713f9)
  • Loading branch information
faec committed Feb 7, 2020
1 parent 63f3b08 commit cca3c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbeat/processors/actions/decode_json_fields.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit cca3c36

Please sign in to comment.