08-22-2002 11:57 AM - edited 03-09-2019 12:02 AM
What can I do/use to convert that field of the logfiles to readable ascii? I remember seeing this question asked here before but don't remember seeing resolution.
Thanks,
brkn
08-22-2002 01:01 PM
I have a shell script that will parse the logfile and display it in a a more readable format. I will send it to you directly as an email attachment.
-BK
08-22-2002 01:19 PM
Is there somewhere we can download this script from??
08-22-2002 01:23 PM
me too!!
08-23-2002 06:51 AM
The nrLogview script has been posted to:
ftp://ftp-eng.cisco.com/bkubesh/nrLogview
Usage: cat
or
nrLogview
-f = signature description file location (default: /usr/nr/etc/signatures)
-V = print this usage
-h = same as -V
-S = print summary only
-x = use list of sigid's as exclude list from output
sigid = signature ID's to filter.
NOTE: The "--" must be present to seperate awk args from the script args. When using this script on an active log file, it will give an error, like premature end of file. I typically use a "grep , log.* | nrLogview -- -S" to summarize an active log file. This eliminates all the NULLs at the end.
-BK
08-26-2002 05:23 AM
THANK-YOU! Excellent tool!
-brkn!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide