DiskBuffer 🔗︎
The parameters of the syslog-ng disk buffer. Using a disk buffer on the output helps avoid message loss in case of a system failure on the destination side. Documentation: https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide/56#TOPIC-1829124
disk_buf_size (int64, required) 🔗︎
This is a required option. The maximum size of the disk-buffer in bytes. The minimum value is 1048576 bytes.
Default: -
reliable (bool, required) 🔗︎
If set to yes, syslog-ng OSE cannot lose logs in case of reload/restart, unreachable destination or syslog-ng OSE crash. This solution provides a slower, but reliable disk-buffer option.
Default: -
compaction (*bool, optional) 🔗︎
Prunes the unused space in the LogMessage representation
Default: -
dir (string, optional) 🔗︎
Description: Defines the folder where the disk-buffer files are stored.
Default: -
mem_buf_length (*int64, optional) 🔗︎
Use this option if the option reliable() is set to no. This option contains the number of messages stored in overflow queue.
Default: -
mem_buf_size (*int64, optional) 🔗︎
Use this option if the option reliable() is set to yes. This option contains the size of the messages in bytes that is used in the memory part of the disk buffer.
Default: -
q_out_size (*int64, optional) 🔗︎
The number of messages stored in the output buffer of the destination.
Default: -