file_singlebuffer plugin provides a persistent buffer implementation. It uses files to store buffer chunks on disk.
file_singleis similar to
file_filebut it does not have the metadata file.
buf_file_singleplugin 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.
falseto speedup the fluentd startup time.
auto, the plugin decides the chunk format by
formatted_to_msgpack_binary?. This option is useful when the output plugin does not implement
buf_file_singledoes not have the metadata file, so
buf_file_singlecannot use rich metadata. The chunk keys must be the only tag or one field key for now.
file_singlebuffer implementation depends on the characteristics of the local file system. Don't use
file_singlebuffer on remote file systems e.g. NFS, GlusterFS, HDFS and etc. We observed major data loss by using remote file system.