Reads files from a path, where each discrete file will be consumed as a single message.
# Config fields, showing default valuesinput:files:path: ""delete_files: false
The path can either point to a single file (resulting in only a single message) or a directory, in which case the directory will be walked and each file found will become a message.
This input adds the following metadata fields to each message:
You can access these metadata fields using function interpolation.
A path to either a directory or a file.
Whether to delete files once they are consumed.