Skip to content

Csv

Parse CSV from field text.

FieldTypeRequiredDescription
descriptionstringdescribe this step.
conditionlua-expression (string)Only run this action if the specified condition is met.
delimstringOverride the default delimiter, which is a comma.
suppress-warningsboolean (bool)Suppress warnings generated by this action.
input-fieldevent-field (string)Field containing CSV data, default is ‘_raw’.
removeboolean (bool)Remove the field containing the value.
relaxed-schemaboolean (bool)Allow picking & naming just the first few fields.
headerboolean (bool)Whether to treat first line as a CSV header.
gen-headersboolean (bool)Whether to generate automatic CSV headers.
autoconvertboolean (bool)Force auto-conversion into numbers wherever possible.
fieldsstringSpecify fields and their types (str, num, bool, num).
field-filepath (string)A file containing the fields as name:type.
header-fieldsHeader FieldsDetailed control of how headers are defined.
FieldTypeRequiredDescription
header-fieldstringField containing header (CSV column names).
header-field-typesboolField containing header has types specified (with name:type format).
header-field-on-changeboolWith ‘header-field`, only write out headers if columns change.
null-valuestringA subSstitute string value to be used in the event that a field is null.