JSON to CSV
Last updated
Was this helpful?
Last updated
Was this helpful?
This operation converts JSON data into a CSV file.
These are the input/output expected data types for this operation:
- JSON data you want to transform into CSV. They must be strings formatted as JSON data.
- Resulting CSV files.
These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):
Suppose you want to convert a series of events in JSON format into CSV:
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose JSON to CSV.
Set Cell delimiter to ,
(comma).
Set Row delimiter to \n
(new line)
Give your Output field a name and click Save. The JSON-formatted strings in your input field will be transformed into CSV.
For example, the following JSON:
will be transformed into this CSV:
You can try out operations with specific values using the Input field above the operation. You can enter the value in the example above and check the result in the Output field.