file
buffer plugin provides a persistent buffer implementation. It uses files to store buffer chunks on disk.path
fluent-plugin-forest
. ${tag}
or similar placeholder is needed. Of course, this parameter must also be unique between fluentd instances.path
should not be another path
prefix. For example, the following configuration does not work well. /var/log/fluent/foo
resumes /var/log/fluent/foo.bar
's buffer files during start phase and it causes No such file or directory
in /var/log/fluent/foo.bar
side.path_suffix
@id
/root_dir
parameters instead of fixed path
parameter. See Multi Process Workers article.file
buffer implementation depends on the characteristics of the local file system. Don't use file
buffer on remote file systems e.g. NFS, GlusterFS, HDFS, etc. We observed major data loss by using the remote file system.