Skip to main content

files

DEPRECATED

This component is deprecated and will be removed in the next major version release. Please consider moving onto alternative components.

Writes each individual message to a new file.

# Config fields, showing default values
output:
label: ""
files:
path: ${!count("files")}-${!timestamp_unix_nano()}.txt

Alternatives

The functionality of this output is now supported by the file output.

In order for each message to create a new file the path must use function interpolations as described here.

Fields

path

The file to write to, if the file does not yet exist it will be created. This field supports interpolation functions.

Type: string
Default: "${!count(\"files\")}-${!timestamp_unix_nano()}.txt"