in reply to Real time log parser

Or yes ;)

But it really depends on what you mean by "real time"!

I think you'll have to tell us more about what you're trying to do and what operating system you are on.

On linux, inotify might help

Replies are listed 'Best First'.
Re^2: Real time log parser
by kazak (Beadle) on Jan 02, 2012 at 18:11 UTC
    Hi, thanks for your answer. I'm using centOS, and trying to implement something like Hi, thanks for your answer. I'm using centOS, and trying to implement something like greylist for squid. I mean when word "sorry" is found in an access.log, string that contains this URL should be passed to a "hold" subroutine this subroutine should extract a name of a certain parent proxy (for example: name=proxy_1) than find such parent in a squid.conf:

    cache_peer 111.117.12.12 parent 60099 0 no-query no-digest originserver name=proxy_1 round-robin login=test:example connect-timeout=3

    cache_peer_access proxy_1 allow all

    If such strings are found they must be moved to some file, and proxy must be reloaded.

      I'm using centOS, and trying to implement something like greylist for squid

      Why not use "greylist for squid" instead? What is that?