On Friday 26 February 2010 20:40:40 Harry Putnam wrote:
> ALERT [ This is a slightly rewritten repost from
> `gmane.[...].perl.beginners', where it got no responses]
> -------        ---------       ---=---       ---------      --------
> 
> My subject line is probably not really that
> good at describing what I want advice on but here it is:
> 
> I've setup one linux (gentoo) box as a logserver running rsyslog and
> several other linux boxes sending syslog info to it.
> 
> I want to set the server rsyslog.conf so that in addition to normal
> logging to /var/log/whateverlogs it also writes everything to a named
> pipe (fifo).
> 
> Then tap into the fifo with a perl script that is written to be able
> to sort and write the syslog output according to various regex that
> may be part of startup cmd or fed in later during the running script.

I don't know rsyslog at all (I use syslog-ng), but certain concepts are stable 
and universal.

Any log daemon must receive logs from somewhere and send them somewhere, and 
almost all support the notion of sending logs to a process instead of a file-
like destination.

Does rsyslog not support something like this:

destination "| /path/to/script.pl"


-- 
alan dot mckinnon at gmail dot com

Reply via email to