Csv Stringify
Csv Stringify (csv-stringify)
Section titled “Csv Stringify (csv-stringify)”Build a single CSV record from ordered event fields.
Transform json
Minimal example
Section titled “Minimal example”actions: - csv-stringify: {}JSON
{ "actions": [ { "csv-stringify": {} } ]}Contents
Section titled “Contents”A ✓ marks a field that accepts a context variable such as
{{ VARIABLE }}.
Fields
Section titled “Fields”| Field | Type | Required | Description |
|---|---|---|---|
description |
string |
describe this step. | |
condition |
lua-expression (string) |
Only run this action if the specified condition is met. Examples: 2 * count() |
|
fields |
string[] |
Ordered list of fields that form the CSV record. | |
delimiter |
string |
Delimiter to use when writing CSV values. | |
always-quote ✓ |
boolean (bool) |
Quote all values (recommended for Excel compatibility). Default: false |
|
output-field |
field (string) |
Field receiving the generated CSV line. Examples: data_field |