Hi All,
I have my rsyslog set to authpriv.*, and I can see in my etc/ssh/secure I have log messages, but they are not being written to my syslog server. I am wondering if someone can point out the obivious I am missing. Thanks.
# For more information see /usr/share/doc/rsyslog-*/rsyslog_conf.html
# If you experience problems, see
http://www.rsyslog.com/doc/troubleshoot.html
#### MODULES ####
$ModLoad imuxsock # provides support for local system logging (e.g. via logger c ommand)
$ModLoad imklog # provides kernel logging support (previously done by rklogd)
#$ModLoad immark # provides --MARK-- message capability
# Provides UDP syslog reception
#$ModLoad imudp
#$UDPServerRun 514
# Provides TCP syslog reception
#$ModLoad imtcp
#$InputTCPServerRun 514
#### GLOBAL DIRECTIVES ####
[7mrsyslog.conf [27m[K
[K# Use default timestamp format
:[K
[K$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
:[K
[K
:[K
[K# File syncing capability is disabled by default. This feature is usually not re :[K
[Kquired,
:[K
[K# not useful and an extreme performance hit
:[K
[K#$ActionFileEnableSync on
:[K
[K
:[K
[K# Include all config files in /etc/rsyslog.d/
:[K
[K$IncludeConfig /etc/rsyslog.d/*.conf
:[K
[K
:[K
[K
:[K
[K#### RULES ####
:[K
[K
:[K
[K# Log all kernel messages to the console.
:[K
[K# Logging much else clutters up the screen.
:[K
[K#kern.* /dev/console
:[K
[K
:[K
[K# Log anything (except mail) of level info or higher.
:[K
[K# Don't log private authentication messages!
:[K
[K*.info;mail.none;authpriv.none;cron.none /var/log/messages
:[K
[K
:[K
[K# The authpriv file has restricted access.
:[K
[Kauthpriv.* /var/log/secure
:[K
[K
:[K
[K# Log all the mail messages in one place.
:[K
[Kmail.* -/var/log/maillog
:[K
[K
:[K
[K
:[K
[K# Log cron stuff
:[K
[Kcron.* /var/log/cron
:[K
[K
:[K
[K# Everybody gets emergency messages
:[K
[K*.emerg *
:[K
[K
:[K
[K# Save news errors of level crit and higher in a special file.
:[K
[Kuucp,news.crit /var/log/spooler
:[K
[K
:[K
[K# Save boot messages also to boot.log
:[K
[Klocal7.* /var/log/boot.log
:[K
[K
:[K
[K
:[K
[K# ### begin forwarding rule ###
:[K
[K# The statement between the begin ... end define a SINGLE forwarding
:[K
[K# rule. They belong together, do NOT split them. If you create multiple
:[K
[K# forwarding rules, duplicate the whole block!
:[K
[K# Remote Logging (we use TCP for reliable delivery)
:[K
[K#
:[K
[K# An on-disk queue is created for this action. If the remote host is
:[K
[K# down, messages are spooled to disk and sent when it is up again.
:[K
[K#$WorkDirectory /var/lib/rsyslog # where to place spool files
:[K
[K#$ActionQueueFileName fwdRule1 # unique name prefix for spool files
:[K
[K#$ActionQueueMaxDiskSpace 1g # 1gb space limit (use as much as possible)
:[K
[K#$ActionQueueSaveOnShutdown on # save messages to disk on shutdown
:[K
[K#$ActionQueueType LinkedList # run asynchronously
:[K
[K#$ActionResumeRetryCount -1 # infinite retries if host is down
:[K
[K# remote host is: name/ip
ort, e.g. 192.168.0.1:514, port optional
:[K
[K#*.* @@remote-host:514
:[K
[K*.* @@192.168.20.12:514
:[K
[K# ### end of the forwarding rule ###