Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: log file analysis

by bingos (Vicar)
on Dec 22, 2006 at 08:05 UTC ( #591276=note: print w/replies, xml ) Need Help??

in reply to log file analysis

POE::Wheel::FollowTail would be the POE way to follow the end of a file. It even deals with log file rotation.

Replies are listed 'Best First'.
Re^2: log file analysis
by jettero (Monsignor) on Dec 22, 2006 at 13:23 UTC

    FYI, I've been using File::Tail for quite a while and it seems to handle file rotations also. I'm going to try out the POE version though. POE is very cool.


Re^2: log file analysis
by Random_Walk (Prior) on Dec 22, 2006 at 13:33 UTC

    I am using POE::Wheel::FollowTail and it is a great module. Handles log file rotation and truncation for you. The event driven system is ideal for loading various forwarders depending on what is seen in the logfile. It took me about a day to hammer together a state-full file follower that parses the file, forwards alerts and generates average stats from performance metrics in the log. POE rocks.


    Pereant, qui ante nos nostra dixerunt!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2019-02-18 11:55 GMT
Find Nodes?
    Voting Booth?
    I use postfix dereferencing ...

    Results (100 votes). Check out past polls.