logstash-codec-json
logstash-codec-json copied to clipboard
Json codec builds nested fields when field name contains square brackets
Hi,
Facing problem (upgrading from 1.4.2 to 2.0 that occurs when field have brackets inside (valid JSON)
example: { "dynamo_entry_tuple_in_list[0]_list[0]": "valid-value" }
is converted to:
{ "dynamo_entry_tuple_in_list" : {"0_.list":{"1_":null,"0_":null}} }
because my fields contains dots (removed in "de_dot") I'm unable to rename them in filter - it becomes nested.
because my fields contains dots (removed in "de_dot") I'm unable to rename them in filter - it becomes nested.
Whenever possible, de_dot should be the last filter of a pipeline to avoid such issues.