Files
OpenSearch-Docs-Cn/_data-prepper/pipelines/configuration/processors/parse-json.md
T
Caroline ef83f6d7d5 Added metrics sections to Aggregate processor subpages. (#2730)
* Added metrics section to Aggregate processor page.

Signed-off-by: carolxob <[email protected]>

* Added Metrics section to individual Processors pages.

Signed-off-by: carolxob <[email protected]>

* Added metrics section for JSON processor.

Signed-off-by: carolxob <[email protected]>

* Added metrics sections. Changed Default is to Default value is.

Signed-off-by: carolxob <[email protected]>

* Corrected references from AWS S3 to Amazon S3.

Signed-off-by: carolxob <[email protected]>

* Minor updates to Metrics sections and phrasing.

Signed-off-by: carolxob <[email protected]>

* Updated Action link.

Signed-off-by: carolxob <[email protected]>

* Updates based on tech review feedback.

Signed-off-by: carolxob <[email protected]>

* Updates based on tech review feedback.

Signed-off-by: carolxob <[email protected]>

* Tech review feedback.

Signed-off-by: carolxob <[email protected]>

* Minor updates to buffer_size and batch_size default values.

Signed-off-by: carolxob <[email protected]>

* Edits to Metrics sections for each processor.

Signed-off-by: carolxob <[email protected]>

* Update made based ondoc review feedback.

Signed-off-by: carolxob <[email protected]>

* Minor updates to intro text for processor pages. Minor adjustements to other text for clarity.

Signed-off-by: carolxob <[email protected]>

* Minor edits.

Signed-off-by: carolxob <[email protected]>

* Adjustements to phrasing, fixed typos.

Signed-off-by: carolxob <[email protected]>

* Minor updates to word choice and corrected a typo.

Signed-off-by: carolxob <[email protected]>

* Minor edit.

Signed-off-by: carolxob <[email protected]>

* Made updates based ondoc review feedback.

Signed-off-by: carolxob <[email protected]>

* Updates to http-source.

Signed-off-by: carolxob <[email protected]>

* Added common processors table to affected docs.

Signed-off-by: carolxob <[email protected]>

* Minor update to one file.

Signed-off-by: carolxob <[email protected]>

* Minor update based on tech review feedback.

Signed-off-by: carolxob <[email protected]>

* Minor edits.

Signed-off-by: carolxob <[email protected]>

* Major editorial feedback incorporated through key-value.md.

Signed-off-by: carolxob <[email protected]>

* Incorporated major editorial feedback thup to service-map-stateful.

Signed-off-by: carolxob <[email protected]>

* Incorporated major editorial feedback for Processors section.

Signed-off-by: carolxob <[email protected]>

* Major editorial updates, specifically to inclusion of text introducing option configuration tables.

Signed-off-by: carolxob <[email protected]>

* Major editorial feedback through otel-trace.md incorporated.

Signed-off-by: carolxob <[email protected]>

* Major editorial edits incorporated.

Signed-off-by: carolxob <[email protected]>

* Technical feedback and editorial feedback incorporated.

Signed-off-by: carolxob <[email protected]>

* Incorporated missing editorial feedback.

Signed-off-by: carolxob <[email protected]>

* Minor adjustements to OpenSearch sink.

Signed-off-by: carolxob <[email protected]>

* Minor changes to capitalization.

Signed-off-by: carolxob <[email protected]>

* Minor edits.

Signed-off-by: carolxob <[email protected]>

* Made one instance of processor name consistent with other references.

Signed-off-by: carolxob <[email protected]>

* Minor update based on editorial feedback.

Signed-off-by: carolxob <[email protected]>

---------

Signed-off-by: carolxob <[email protected]>
2023-02-27 11:40:59 -05:00

1.2 KiB

layout, title, parent, grand_parent, nav_order
layout title parent grand_parent nav_order
default Parse JSON Processors Pipelines 45

Parse JSON

Overview

The parse_json processor parses JSON data for an event, including any nested fields. The following table describes several optional parameters you can configure in the parse_json processor.

Option Required Type Description
source No String The field in the Event that will be parsed. Default value is message.
destination No String The destination field of the parsed JSON. Defaults to the root of the Event. Cannot be "", /, or any whitespace-only String because these are not valid Event fields.
pointer No String A JSON Pointer to the field to be parsed. There is no pointer by default, meaning the entire source is parsed. The pointer can access JSON Array indices as well. If the JSON Pointer is invalid then the entire source data is parsed into the outgoing Event. If the pointed-to key already exists in the Event and the destination is the root, then the pointer uses the entire path of the key.