syslog-ng Open Source Edition 3.16 - Release Notes

hdfs-append-enabled()

Type: true | false
Default: false

Description: When hdfs-append-enabled is set to true, syslog-ng OSE will append new data to the end of an already existing HDFS file.

When hdfs-append-enabled is set to false, the syslog-ng OSE application always creates a new file if the previous has been closed. In that case, appending data to existing files is not supported.

When you choose to write data into an existing file, syslog-ng OSE does not extend the filename with a UUID suffix because there is no need to open a new file (a new unique ID would mean opening a new file and writing data into that).

Caution:

Before enabling the hdfs-append-enabled option, ensure that your HDFS server supports the append operation and that it is enabled. Otherwise syslog-ng OSE will not be able to append data into an existing file, resulting in an error log.


Was this topic helpful?

[Select Rating]



Related Documents