diff --git a/syslog-collector-installer.sh b/syslog-collector-installer.sh index a21dd99d3f06c16b3121a61a645239f8da480d34..90f0677789c7c6827da9cd8bb4fb7216d2611529 100755 --- a/syslog-collector-installer.sh +++ b/syslog-collector-installer.sh @@ -89,7 +89,7 @@ options { # Logs may come from unix stream, but not from another machine. # -source s_local { +source s_local_journald { systemd-journal(); internal(); }; @@ -158,15 +158,15 @@ filter f_auth { facility(auth); }; ######################## # Local console -log { source(s_local); filter(f_console); destination(d_console_all); }; -log { source(s_local); filter(f_crit); destination(d_console); }; +log { source(s_local_journald); filter(f_console); destination(d_console_all); }; +log { source(s_local_journald); filter(f_crit); destination(d_console); }; # make auth.log -log { source(s_local); filter(f_auth); destination(d_authlog); }; +log { source(s_local_journald); filter(f_auth); destination(d_authlog); }; # Remote log collector (KSZK) log { - source(s_local); + source(s_local_journald); source(s_local_net); # filter(f_no_sensitive); destination(d_kszk_log_collector);