file_single
buffer plugin provides a persistent buffer implementation. It uses files to store buffer chunks on disk.file_single
is similar to file_file
but it does not have the metadata file.path
path
parameterfsb
prefixbuf
extensionworker_id
and plugin id
are added:calc_num_records
buf_file_single
plugin does not have the metadata file, so this plugin cannot keep the chunk size across fluentd restarts. If true
, it calculates the chunk size by reading the file at startup.false
to speedup the fluentd startup time.out_forward
.chunk_format
calc_num_records
.auto
, the plugin decides the chunk format by formatted_to_msgpack_binary?
. This option is useful when the output plugin does not implement formatted_to_msgpack_binary?
correctly.buf_file_single
does not have the metadata file, so buf_file_single
cannot use rich metadata. The chunk keys must be the only tag or one field key for now.file_single
buffer implementation depends on the characteristics of the local file system. Don't use file_single
buffer on remote file systems e.g. NFS, GlusterFS, HDFS and etc. We observed major data loss by using remote file system.