Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Re: Re: Logfile-NCSA-Undefined Subroutine?

by shenme (Priest)
on Aug 07, 2003 at 04:36 UTC ( #281744=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Logfile-NCSA-Undefined Subroutine?
in thread Logfile-NCSA-Undefined Subroutine?

Yes, it was looking for any one of several different time modules, including Time::ParseDate, then using its own subroutine, which _still_ required Time::Local.

I have not been able to get anything other than

$log->report(Group => 'thing', ... );
to work, where 'thing' is _one_ of the names mentioned in the new( Group => ). The module seems to handle only one key at a time.   It is more painful than I thought it would be....

Replies are listed 'Best First'.
Re: Re: Re: Re: Logfile-NCSA-Undefined Subroutine?
by WhiteBird (Hermit) on Aug 07, 2003 at 13:13 UTC
    Painful is right. I'm not sure the effort is worth the result--the jury is still out on that one. It does appear that you can have more than one thing in Group

    Group => [Host,File,Hour]; as long as you have a report type declared for each item as such:

    $log->report(Group => File, Sort => Records); $log->report(Group => Host, Sort => Bytes); $log->report(Group => Hour, List => [Bytes, Records];

    For some reason, I didn't find the documentation to be entirely clear about that point.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://281744]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2022-06-25 19:25 GMT
Find Nodes?
    Voting Booth?
    My most frequent journeys are powered by:

    Results (83 votes). Check out past polls.