[syslog-ng]program() with template()..how or workaround?

The Little Prince thelittleprince@asteroid-b612.org
Mon, 24 Jun 2002 11:40:24 -0700 (PDT)


i need to use template with program in order to send a specific format to
a modified sqlsyslogd.
I'm running the latest devel of syslog-ng.
can this be done?
if not, is there some sort of workaround i can use with pipe to get the
formatted data into sqlsyslogd?
or maybe do something like..
program("/usr/local/bin/sqlsyslogd < echo $HOST $FACILITY");
i know that syntax wont work, but you get the gist. :)

Thanx!

--Tony
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco                            Network Administrator/Engineer
thelittleprince@asteroid-b612.org              http://www.asteroid-b612.org

     "Strange, but it seems, there's a mutiny brewing inside of me"
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.