XLS

XLS

This filter allows you to extract all the rows from a Excel file.
Based on the qax-os/excelize library.

Parameters

ParameterTypeDefaultDescription
targetSTRING“main”the field of the Message that should be used for the filter (it could be the main or and extra field)
filenameSTRINGemptythe 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

What's on this Page