Compare commits

...

2 commits

2 changed files with 7 additions and 0 deletions

View file

@ -19,3 +19,9 @@ input(
maxDataSize="10k"
oversizeMode="truncate")
<% end -%>
# Split remote hosts to separate logs for easier reading
# make sure local logs still are sent to default files
$template RemoteHost,"/var/log/remote/%HOSTNAME%/syslog.log
if ($fromhost-ip != "127.0.0.1") then ?RemoteHost
& ~

View file

@ -11,6 +11,7 @@
/var/log/cron.log
/var/log/debug
/var/log/messages
/var/log/remote/**/*.log
{
rotate 13
daily