[syslog-ng] syslog-ng with piped fifo
Steve Bielen
is070001 at fh-stpoelten.ac.at
Wed May 21 17:49:59 CEST 2008
greetings
I have setup a syslog-ng server, which I intent to use to filter the
messages from squid.
Currently I filter all the messages from squid and send them to a pipe.
on the other end of this pipe I have my perl script which formats the
data and stores it into my postgres database.
the problem is that when I try to run /tmp/pgsql.pipe > script.perl I
get the error permission denied.
I run that command as root, the pipe is owned by root, and the owner.
and the same goes for script.perl.
second question: In most tutorials I see for database usage with
syslog-ng everyone used a template insert command with variables. does
anyone know if such variables exist for the squid access logs ?
best wishes
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the syslog-ng
mailing list