Created
August 1, 2019 11:49
-
-
Save jonuwz/d8487da7fb303728729ca15db5904393 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options { | |
flush_lines (0); | |
time_reopen (10); | |
log_fifo_size (1000); | |
chain_hostnames (off); | |
use_dns (no); | |
use_fqdn (no); | |
create_dirs (no); | |
keep_hostname (yes); | |
}; | |
source s_sys { | |
unix-dgram("/dev/log"); | |
udp(ip(0.0.0.0) port(514)); | |
tcp(ip(0.0.0.0) port(514)); | |
}; | |
destination d_msg { file("/var/log/messages"); }; | |
log { source(s_sys); destination(d_msg); }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment