json

json #

CategoryScope
Parsingrecord

The “json” pipeline processor: decode a JSON string field of the current record into structured attributes.

Configuration #

FieldTypeDefaultDescription
fieldstringSource field to read from.
target_fieldstringDestination field to write the result to.
overwrite_keysboolOverwrite fields that already exist in the record.
ignore_missingboolDo not fail when the source field is missing.
ignore_failureboolDo not fail the record when processing errors; the record passes through unchanged.
tagstringTag appended to the record when processing fails.

Example #

processor:
  - json:
      field: "message"
      target_field: "parsed"
      overwrite_keys: true
      ignore_missing: true
      ignore_failure: true
Edit Edit this page