files

Writes each individual message to a new file.

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

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"