Edge Delta Add Field Processor
The Edge Delta add field processor inserts a field and value.
3 minute read
Processors can consume and emit all data types:
Note: There is no need to decode the body before operating on it, despite many processors using OTTL under the hood. Similarly, patterns are automatically escaped for you.
When you add a source or destination, a processor is added automatically.
Alternatively, in pipeline Edit Mode, click Add Node and select Multi Processor.
You can add and automatically configure a processor using fields in the output pane. To do this you must be in the Pretty View.
You select a field that is the subject of a processor you need. The context menu shows options for processors that can be automatically added and configured:
In this example processing succeeded
was clicked. Suppose you want to exclude logs containing this value in this field. You click Exclude:
A filter processor has been added to the processor stack and it has been automatically configured appropriately to drop any logs where attributes["msg"] == "processing succeeded"
. You can tweak the configuration or leave it as is and click Save.
A multiprocessor node is configured using Live Capture data. To start, it recommends a particular processor based on the detected input traffic. In this instance, the logs are JSON formatted so it recommends a Parse JSON processor:
Click the + icon to add the recommended processor or click + Add a processor to add a different processor.
In this example the Parse JSON processor is added to the multiprocessor.
If you select a log in the input pane, the resulting log is shown in the output. Note the green diff block showing the parsed attributes, as well as the 24% increase in data item size:
As you specify fields, the fields detected in the live capture sample are offered by autocomplete:
Similarly, as you specify values, autocomplete offers samples based on the live capture sample.
As you configure additional processors, they are stacked vertically in the centre pane. Data items are usually processed by each in turn from the top down. In this example, three processors operate in turn with the final processor filtering out certain data items.
Take note of the affected markers: this time some are red indicating those data items have been dropped. Also take note of the size decrease: despite increasing the individual size of each data item, the overall throughput volume is less on balance due to the filtering.
You can toggle specific processors in the sequence on or off. You might do this as you experiment with the sequence of processors, or when troubleshooting.
In this instance, the Extract Metric process is being used after parsing JSON but without string conversion or filtering.
Use this section to explore the individual processors that can be used within a multiprocessor sequence:
The Edge Delta add field processor inserts a field and value.
The Edge Delta aggregate metric processor creates metrics from metrics.
The Edge Delta comment processor is used to add comments to pipelines.
The Edge Delta conditional group processor groups processors under a condition.
The Edge Delta copy field processor copies a field.
The Edge Delta custom processor performs any OTTL function.
The Edge Delta deduplicate logs processor removes duplicate logs.
The Edge Delta delete empty field processor removes fields with no value.
The Edge Delta delete field processor deletes fields.
The Edge Delta extract metric processor generates metrics from other data items.
The Edge Delta filter processor filters certain data items from the pipeline.
The Edge Delta lookup processor enriches a data item dynamically against a lookup table.
The Edge Delta mask processor redacts sensitive data.
The Edge Delta parse CSV processor parses CSV data fields into structured data.
The Edge Delta parse grok processor parses a field into structured data based on a grok pattern.
The Edge Delta parse JSON processor parses a JSON field into structured data.
The Edge Delta parse key value processor parses a key value field into structured data.
The Edge Delta parse regex processor parses a field into structured data based on a regex pattern.
The Edge Delta parse severity processor parses the severity level from another field.
The Edge Delta parse timestamp processor parses the timestamps from another field.
The Edge Delta parse XML processor parses a XML field into structured data.
The Edge Delta sample processor takes a representative sample of incoming data items.
The Tail Sample Processor samples incoming traces and spans based on predefined sampling policies.
The Edge Delta Unroll JSON processor unrolls events from a single JSON object.