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

Michael Earls Michael.Earls@chmcc.org
Mon, 24 Jun 2002 14:49:48 -0400


You should look on http://www.campin.net/syslog-ng/faq.html there are
some sites that list how to format syslog-ng to sql statements.
 
michael

	-----Original Message-----
From: thelittleprince@asteroid-b612.org 
Sent: Monday, June 24, 2002 2:40 PM
To: <syslog-ng@lists.balabit.hu>
Subject: [syslog-ng]program() with template()..how or workaround?




	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" 
. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._.
._. ._. ._. ._. ._. ._. ._. . 


	_______________________________________________ 
syslog ng maillist     syslog ng@lists.balabit.hu 
https://lists.balabit.hu/mailman/listinfo/syslog ng 
Frequently asked questions at http://www.campin.net/syslog
ng/faq.html