Skip to main content

Processor object reference

This topic describes the API schema for each type of processor in Imply Lumi that you can use to transform incoming events. Use the schema to define processors for pipelines you manage with the Imply Lumi Terraform provider. Select the processor type to view the fields that define it.

In an infrastructure-as-code workflow, you can define your pipeline and processors in a JSON file committed to version control. Create a pipeline resource in your Terraform configuration that reads from the JSON file. Update the file and apply changes when you want to update your pipeline.

You can download the Processors OpenAPI spec to use in your AI agents or API platforms to generate the processor definitions.

To learn about processors in Lumi, see Processors reference.


type stringrequired

Possible values: [attribute_mapper, attribute_remover, conditional_mapper, expression_processor, grok_parser, key_value_parser, lookup_mapper, message_mapper, nested_pipeline, regex_parser, redaction_processor, status_mapper, timestamp_mapper, value_mapper, windows_parser]

sourceAttribute objectrequired

The attribute to copy values from

valuestringrequired

The reference to the attribute

isJsonPathboolean

Whether the value should be processed as a JsonPath expression

Default value: false
targetAttribute objectrequired

The attribute to copy values to

valuestringrequired

The reference to the attribute

writeModeWriteModeEnumnullable

How a processor writes into a target attribute that may already hold a value. PRESERVE - keep the existing value; write only when the attribute has none. OVERRIDE - replace whatever the attribute holds. APPEND - merge into the existing value, producing a multi-value. Existing multi-values are flattened rather than nested, duplicates are kept, and a result that leaves a single element stays a plain value. Appending nothing writes nothing. The default when omitted, and when the deprecated override boolean is also absent, depends on what the processor writes: OVERRIDE for grok_parser and regex_parser, which write their extractions unconditionally, and PRESERVE for every other processor that accepts this field.

Possible values: [PRESERVE, OVERRIDE, APPEND, null]

Default value: null
descriptionstring

Optional description of the processor

enabledbooleanrequired

Whether this processor is enabled

idstring

Unique identifier for the processor, which the server assigns when it creates the processor.

namestringrequired

Human-readable name for this processor

Processor object reference
{
"type": "value_mapper",
"name": "Assign index",
"description": "Maps a static value",
"enabled": true,
"staticValue": "docs",
"targetAttribute": {
"value": "index"
}
}