Processor
A processor is a component inside a Datadog log pipeline that handles exactly one transformation, such as extracting attributes, renaming them, or adding values. Processors are applied one at a time to incoming logs, in the order they are arranged in the pipeline.
Overview
Of the work of giving structure to logs, the processor is the part that actually does the work. A pipeline is a container that decides "which logs to handle," and what is changed and how is determined by the types and order of the processors arranged inside it. This is the concept to keep in mind when you want to shape logs in a custom format into a searchable form, when you want to replace internal IDs with human-readable names, or when you find two components that seem able to do the same thing and are unsure which to use. Choosing by role also helps you notice arrangements in which two components write to the same attribute.
A component that handles one transformation inside a pipeline
A log pipeline passes the logs that match its filter through the processors arranged inside it, in order from the top (as of October 2026; Source: Pipelines). What a single processor handles is one transformation, such as extracting a value from the message, renaming an attribute, or creating a new attribute from existing values. Once you register an attribute it writes as a Facet, it appears as a candidate for search and aggregation (Source: Processors). The pipeline as a container and how its filter is evaluated are left to Log Pipeline. What is covered here are the processors that run on the Datadog cloud side; the processors in Observability Pipelines, which transform logs in your own environment, are a separate mechanism.
Think in terms of four roles: parse, copy, add, and create
The list in the official documentation is in name order, and choosing by name leaves you unsure between similar components (as of October 2026; Source: Processors). If you divide them by what they receive and what they write, the main components fit into four roles.
| Role | What it receives and what it writes | Examples of matching components |
|---|---|---|
| Parse | Reads and interprets strings or encoded values and turns them into attributes | Grok Parser / URL Parser / User-Agent Parser / Decoder Processor |
| Copy | Moves an existing value to another name or to a reserved attribute | Attribute Remapper / Log Status Remapper / Service Remapper / Trace Remapper |
| Add | Uses a table or conditions to add values not present in the original log | Lookup Processor / Category Processor / Threat Intel Processor |
| Create | Combines existing values and calculates a new value | Arithmetic Processor / String Builder Processor / Array Processor |
Some components are hard to put into the four roles, such as the Exclude Attribute Processor, which removes attributes, and the OCSF Processor, which aligns security logs to the OCSF format; use these for the purpose their names describe.
How the Lookup Processor looks up values
The Lookup Processor looks up the value of a log attribute in a mapping table and writes a human-readable value as a separate attribute (as of October 2026; Source: Lookup Processor). Typical uses are replacing internal service IDs with service names and user IDs with user names. Processing proceeds in the following four steps.
- Check whether the source attribute (source) exists in the log
- Look up whether that value is in the mapping table
- If it is, put the corresponding value into the destination attribute (target)
- If it is not, put in the default value only when one has been set
You build the mapping table either on the Manual Mapping tab, by listing source_key,target_value pairs by hand or loading a CSV, or on the Reference Table tab, by selecting a reference table. Hand-entered tables have a size limit that is totaled across all Lookup Processors, and large tables are handled by reference tables instead. Because the source attribute remains, searches that filter by ID and screens that read by name both keep working as they are.
Grok or String Builder, Remapper or Category
The Grok Parser and the String Builder Processor work in opposite directions. Grok splits one string by rules into multiple attributes. String Builder joins existing attributes and fixed strings with a %{attribute_path} template to create one attribute (as of October 2026; Source: String Builder Processor). How to write the rules is left to Grok Parser. Whereas a Remapper copies an existing value as is to another name, the Category Processor writes a value you decide yourself to logs that match a search query (Source: Category Processor). Category stops at the first matching query, so the order of the queries determines the result. The types of destinations are covered in Remapper.
Look at the order of writes before adding components
When two processors write the same attribute, which one remains is determined by type, and the three rules are summarized in the table in Log Pipeline (as of October 2026; Source: Pipelines). Datadog recommends keeping down the number of processors placed in a single pipeline, and also states explicitly that it may disable processing that harms the performance of the service. Before applying a change, you can see its effect in the pipeline preview as a difference against logs that have arrived (for how to compare, see the section "Check the effect before you change" in Log Pipeline). As one way to proceed, each time you add a component, add the attribute names that component writes to a list organized by role. As soon as the same name appears twice, check in the table which type remains before deciding the order.