[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Is awk the right tool for this?
- Subject: [ale] Is awk the right tool for this?
- From: krum at smyrnacable.net (Kevin Krumwiede)
- Date: 07 May 2002 01:03:37 -0400
I want to go through my firewall logs and extract the source address of
dropped packets. I can't just use cut to get the right field because of
different flags on the packets. So how do I get just the token that
begins with "SRC="? I have a feeling awk is the tool for the job, but I
don't really know how to use it.
grep dropped /var/log/kernel/info | ??? | sort | uniq | ...
Thanks,
Krum
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.