Hey all,
I'm currently sending our PIX logs to a remote syslog. I want to count
outbound connections on a per IP basis and then graph them. The graphing
isn't all that big a deal, but I am not sure of the best way to parse
syslog.
I'd originally thought a loop of range 1-254 and grep the file for the
loop value (where the value is the last triplet of the IP address) and
pipe that through wc -l which would then append that value to a file.
254 greps over syslog might get a little tiring. Can anyone think of an
easier way to do this?
Cheers,
lance
Received on Mon Sep 24 11:10:05 2007
This archive was generated by hypermail 2.1.8 : Mon Sep 24 2007 - 11:10:11 CST