Function: Add Fields

Overview

Add fields to the data

Description

This function allows you to add any number of fields with a preset value to an event. This can be useful, for example, for adding some metadata or for use in testing. Events are passed to the function input, and the same events with an additional field are passed to the function output.
The function parameters allow you to set the field name and its value. You can add one or more fields.

Function Schema

Example

For example, consider adding a field containing the company name for each event. To do this, set Field='company' and Field Name='LoLo' in the function parameters. Insert the function block into the event processing chain for further processing