1

We need to redirect the logs from our Cisco firewall(SA520-K9) to syslogd server(it's a CentOS server). The settings are done on the firewall. But the messages from firewall are going to /var/log/messages and console instead of /var/log/firewall.log which is our requirent.

*.info;mail.none;authpriv.none;cron.none        /var/log/messages

authpriv.*                      /var/log/secure

mail.*                          -/var/log/maillog


cron.*                          /var/log/cron

*.emerg                         *

uucp,news.crit                      /var/log/spooler

local7.*     /var/log/firewall.log

This is our syslog config file. Any advices ?

Log Severity > Warning and set to sent to syslog in the device

nitins
  • 2,579
  • 15
  • 44
  • 68

2 Answers2

3

default facility used by the Cisco ASA is 20 (LOCAL4):

  local4.*     /var/log/firewall.log
alvosu
  • 8,437
  • 25
  • 22
0

Check the raw messages and see the facility and the severity that is used. (%rawmsg% in rsyslog ) ... I don't know about syslogd, but you can always use wireshark for that. (the other way is to check every facility until you get your job done)

Lucas Kauffman
  • 16,880
  • 9
  • 58
  • 93
Nikolaidis Fotis
  • 2,032
  • 11
  • 13