Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Syslog-NG CONF file running 3.19.1 OSE version from COPR repo in DEV
@version:3.19.1
@include "scl.conf"
# syslog-ng configuration file.
#
# This should behave pretty much like the original syslog on RedHat. But
# it could be configured a lot smarter.
#
# See syslog-ng(8) and syslog-ng.conf(5) for more information.
#
# Note: it also sources additional configuration files (*.conf)
# located in /etc/syslog-ng/conf.d/
options {
flush_lines (100); #Default value is zero
time_reopen (10);
# log_fifo_size (1000);
chain_hostnames (off);
# use_dns (no);
use_fqdn (yes); #Default value is no
keep_hostname (yes);
threaded(yes); # multi-threaded!
# splunk user owns all the directories and files
dir_owner( splunk );
owner( splunk );
dir_group( splunk );
group( splunk );
# perms for files and dirs
perm ( 0600 );
dir_perm( 0700 );
create_dirs ( yes ); # Default is no. Create directories as needed
normalize_hostnames ( yes ); # converts hostname to lowercase
# log-fifo-size is the combined output queue, see the tuning below
log-fifo-size (2000000);
};
# Source additional configuration files (.conf extension only)
@include "/etc/syslog-ng/conf.d/*.conf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.