Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Looking for help on log analysis

From: joel::neely::fedex::com at: 26-Oct-2001 7:22

Hi, Jim, Jim Richards wrote:
> I have attached a small portion of a firewall log that I would like > to do analysis on. You will see that the log file has a header with > data fields. I guess my question is how do I read it in so that I > can get to the data in a field type format. > Any ideas or suggestions would be helpful. >
There's a problem with attachments...
> -- Binary/unsupported file stripped by Listar -- > -- Type: application/octet-stream > -- File: partial.out >
I've done a bit of text munging in my day; if you can insert a sample in an email, I'll be glad to take a look. -jn- -- ; sub REBOL {}; sub head ($) {@_[0]} REBOL [] # despam: func [e] [replace replace/all e ":" "." "#" "@"] ; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return "\n$e"} print head reverse despam "moc:xedef#yleen:leoj" ;