Ubuntu Pastebin

Paste from simon at Fri, 22 Sep 2017 18:03:44 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# save syslog and auth.log from remote machines
# and stop processing them to not send them to another
# log aggregator
ruleset(name="from-remote"){
  if prifilt("auth.*") or prifilt("authpriv.*") then {
    -/var/log/aggregator-auth.log
    stop
  }
  -/var/log/aggregator-syslog
  stop
}
Download as text