Parse CSV from field text.
Field | Type | Required | Description |
---|
description | string | | describe this step. |
condition | lua-expression (string ) | | Only run this action if the specified condition is met. |
delim | string | | Override the default delimiter, which is a comma. |
suppress-warnings | boolean (bool ) | | Suppress warnings generated by this action. |
input-field | event-field (string ) | | Field containing CSV data, default is ‘_raw’. |
remove | boolean (bool ) | | Remove the field containing the value. |
relaxed-schema | boolean (bool ) | | Allow picking & naming just the first few fields. |
header | boolean (bool ) | | Whether to treat first line as a CSV header. |
gen-headers | boolean (bool ) | | Whether to generate automatic CSV headers. |
autoconvert | boolean (bool ) | | Force auto-conversion into numbers wherever possible. |
fields | string | | Specify fields and their types (str, num, bool, num). |
field-file | path (string ) | | A file containing the fields as name:type. |
header-fields | Header Fields | | Detailed control of how headers are defined. |
Field | Type | Required | Description |
---|
header-field | string | | Field containing header (CSV column names). |
header-field-types | bool | | Field containing header has types specified (with name:type format). |
header-field-on-change | bool | | With ‘header-field`, only write out headers if columns change. |
null-value | string | | A subSstitute string value to be used in the event that a field is null. |