Firewall Wizards mailing list archives

Re: Syslog montioring and usage.


From: Roger Marquis <marquis () roble com>
Date: Fri, 16 Jul 2004 14:35:55 -0700 (PDT)

Chad Thomsen wrote:
I am trying to learn the ins and outs of using Syslog.

First configure the PIX to log to an internal loghost:

    logging on
    logging trap notifications
    logging history notifications
    logging host inside <loghost_ip>
    ;;; local preferences:
    no logging message 106011
    no logging message 106007
    no logging message 106023
    no logging message 304001

Then check /etc/syslog.conf to make sure it is writing to a readable
file, not simply dumping everything into /var/log/messages.  See
<http://www.roble.com/docs/syslog.conf.example> for a more readable
set of logs than most OS defaults.

Finally, and most importantly, you'll need a way to view the data
easily.  I use a simple script to walk through each log, starting
at the bottom (most recent entries) of the most recently updated
logfiles:

        <http://www.roble.com/docs/readlog>

If your viewer is configured ideally just press 'N' as many times
as you have files.

You'll likely prefer to use a pix-specific log parser, in addition
to or instead of something like readlog, if there is a lot of history
to review.

-- 
Roger Marquis
Roble Systems Consulting
http://www.roble.com/
_______________________________________________
firewall-wizards mailing list
firewall-wizards () honor icsalabs com
http://honor.icsalabs.com/mailman/listinfo/firewall-wizards


Current thread: