Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mezmo-9a59581a-mintlify-926f893d.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Description

The Unroll processor converts a JSON object array into individual objects.

Use

This processor is most commonly used for cases when a source sends a set of objects packaged in a single JSON object. This could include logs or metrics.

Configuration

There is one option to configure for this processor.
OptionDescriptionExample
FieldThe field containing the JSON object array to unroll..foo

Example

Before

{
  'foo': ['bat', 'baz', 'qux'], 
  'bar': 1
}

Unroll Options

OptionValue
Field.foo

After

{"bar": 1, "foo": "bat"}
{"bar": 1, "foo": "baz"}
{"bar": 1, "foo": "qux"}