Skip to content

Enrich

Look up values in a CSV or Sqlite database and add matching fields.

FieldTypeRequiredDescription
descriptionstringdescribe this step.
conditionlua-expression (string)Only run this action if the condition the specified condition is met.
lookupenrich:lookupCSV file or Sqlite file containing enrichment information.
dynamicboolean (bool)The lookup file may not exist at job creation time.
addAddA field value to add to the event.
event-fieldsEvent FieldsAdd multiple fields to a single event based on a single match, providing a default.
matchMatchMatch event values against lookup column values.
suppress-warningsboolean (bool)Suppress warnings generated by this action.
FieldTypeRequiredDescription
event-fieldstringField name to be added to the event.
lookup-fieldstringField (CSV header) to lookup data to be place in event-field.
default-valueobjectYAML formatted default value if the event is empty.
FieldTypeRequiredDescription
typesymbolThe type of the match.
event-fieldstringfield containing the value to lookup.
lookup-fieldstringname of CSV or database field to be compared.