Skip to content

Commit

Permalink
Include document_id in decode_json_fields allowed fields (#16156)
Browse files Browse the repository at this point in the history
  • Loading branch information
faec authored Feb 7, 2020
1 parent 7325028 commit 64713f9
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 64713f9

Please sign in to comment.