Skip to main content

Parse JSON

Overview

The Parse JSON processor parses JSON from a source field and writes the parsed data to a target field.

Supported types: Logs

Basic Configuration

ParameterTypeDefault ValueRequiredDescription
source_field_typestringbodyYesThe type of field to read the source data from. Supported values: body attribute resource
source_fieldstringNoThe specific field key to read from. Required for attribute and resource.
target_field_typestringbodyYesThe type of field to write the parsed data to. Supported values: body attribute resource
target_field (Optional)stringNoThe specific field key to write to (e.g., a specific attribute name).

Example Configuration

{
"source_field_type": "body", // required, default: "body"
"source_field": "", // conditionally required when source_field_type = "attribute" or "resource"
"target_field_type": "body", // required, default: "body"
"target_field": "", // default: none
}