XLS
This filter allows you to extract all the rows from a Excel file.
Based on the qax-os/excelize library.
Parameters
Parameter | Type | Default | Description |
---|---|---|---|
target | STRING | “main” | the field of the Message that should be used for the filter (it could be the main or and extra field) |
filename | STRING | empty | the filename of the XLS file to parse (supports Golang templates) |
... | xls(target="{{ .extra_field }}") | ...
The
filename
field override the target
. They are mutually exclusive, so you can specify only one of them.Output
The filter produces one Message for each row of the XLS file.
Examples
Soon…