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

Re: [MacPerl] prebuilt log analyzer



In article <mac-perl.l03110706b1efd203d168@[192.168.1.128]>, "Jefferson R.
Lowrey" <lowrey@postoffice.sells.com> wrote:

>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.
...
>
>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?

It sounds like the application you are looking for _is_ Perl. Based on
what you have said, unless someone has written a script specifically for
NetOctopus and specifically to collect the info you want (although you
haven't said what it is), I would imagine that any tool general enough to
extract arbitrary information from an arbitrary log file would be harder
to learn and configure than starting from scratch (assuming you already
know perl). I think perl itself is the tool you are looking for--you are
basically describing the exact situation which perl was originally written
to handle. (Sorry.)
-- 
__________________________________________________________________________

Jeff Clites                Online Editor           http://www.MacTech.com/
online@MacTech.com         MacTech Magazine
__________________________________________________________________________

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