Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ModLoad imudp.so
- $UDPServerRun 514
- $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
- # log everything to the /var/log/remotesyslog file
- *.* /var/log/remotesyslog
- $ModLoad imuxsock
- $ModLoad imjournal
- $ModLoad imudp.so
- $UDPServerRun 514
- $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
- $IncludeConfig /etc/rsyslog.d/*.conf
- $IMJournalStateFile imjournal.state
- authpriv.* /var/log/secure
- mail.* -/var/log/maillog
- cron.* /var/log/cron
- *.emerg *
- uucp,news.crit /var/log/spooler
- local7.*
- /var/log/boot.log
- # forward everything over UDP to watcher
- *.* @@10.0.1.1:514
- user@guineapig ~$ logger "please work"
- # doesn't work
- user@guineapig ~$ logger -n 10.0.1.1 "please work for real"
- # works
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement