Skip to main content

Description

This processor recursively reduces the level of a set of objects and appends the prior level to the keys of each.

Use

The flatten processor is useful when you need all nested fields of a JSON object to be moved to a single level. This can be beneficial when integrating with a system that can’t handle complex or nested data.

Configuration

There are two options for configuring this processor.

Example

Before

Flatten Options