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
| Parameter | Type | Default Value | Required | Description |
|---|---|---|---|---|
| source_field_type | string | body | Yes | The type of field to read the source data from. Supported values: body attribute resource |
| source_field | string | No | The specific field key to read from. Required for attribute and resource. | |
| target_field_type | string | body | Yes | The type of field to write the parsed data to. Supported values: body attribute resource |
| target_field (Optional) | string | No | The 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
}