data-prepper icon indicating copy to clipboard operation
data-prepper copied to clipboard

parse_json: add ability to only parse top level fields

Open cameronattard opened this issue 7 months ago • 1 comments

Is your feature request related to a problem? Please describe. Nested json parsing can introduce challenges with OpenSearch field limits and type conflicts between object and concrete field types. It would be helpful to be able to only parse the top level of JSON fields, leaving subfields as strings.

Describe the solution you'd like Add an option to only parse the top level of a JSON-encoded string field.

Describe alternatives you've considered (Optional) Perform JSON parsing elsewhere, e.g. fluent-bit.

Additional context N/A

cameronattard avatar Jul 01 '24 04:07 cameronattard