File

File

This filter get as input the path of a local file, read it and return the content back to the pipeline.

Parameters

ParameterTypeDefaultDescription
targetSTRING“main”the field of the Message that should be used for filter’s output (it could be main or an extra field)
... | file(target="file_content") | ...

Output

The output will contain the content of the read file. Using the target parameter you can specify the output field’s name.

Examples

What's on this Page