File

File feeder

This feeder can create the stream starting from a file. Like the tail -f command it opens the specified file and propagates a data message if a line is being added to the file.

Parameters

ParameterTypeDefaultDescription
filenameSTRINGemptythe path of the file that it has to keep track
toendBOOL“false”the feeder will start to create data messages only for new added lines
... | <file: filename="path/of/the/file.txt", toend="false"> | ...

Output

Text

The main field of the Message will contain the new read line.

Extra

NameDescription
file_namethe name of the read file

Examples