[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] prebuilt log analyzer



I find myself having to garner useful information out of a log file
generated by a mac admin tool called NetOctopus (which is pretty darn
cool).  The information I need to find is a bit elusive.
Log entries look something like this:
7/22/98 11:37:40 AM	Ç[CSR Zone] RonMÈ:	Executing command
'Installer Scripts'...
7/22/98 11:37:40 AM	Ç[CSR Zone] MarkWÈ:	Executing command
'Installer Scripts'...
7/22/98 11:37:40 AM	Ç[CSR Zone] Lobby 5215È:	Executing command
'Installer Scripts'...

Now, I can parse and grep and break apart without using perl, but I can't
necessarily assembly the answers I need without some sort of program.  But,
I'm hoping that there is something prebuilt I can at least modify to let me
generate some reports from this data.  I'd need to eliminate lines that
don't match some criteria, associate them by user name, match them against
some additional criteria, and then produce some reports.  Is there a task
more suited to Perl?

Invoking Laziness, is there a prebuilt script I can crib up to match my
needs?
I couldn't find anything on the MacPerl pages, nor in a brief search
through CPAN (only brief, cause it'd probably take me less time to write
one myself than deUnix a script.. (although both would take me a while))

-Jeff Lowrey
Mac guru Perl newbie



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch