> > > > >
> > > > >
http://www.mandrake.com/en/archives/cooker/2002-05/msg01166.php
> > > >
> > > > Oh yes, I read about that one.
> > > >
> > > > My personal opinion is that (as with anything fancy) that it is
> very
> > nice,
> > > > but it's a very big fancy candy add-on that you are adding to a
> > basesystem
> > > > tool ...
> > >

BTW if you look in syslog-ng archives you'll see an example of SQL
connector using pipes. Nothing very special is needed for it:

destination d_mysql {pipe("/etc/mysql.pipe" template("INSERT INTO
logs(host, facility, priority, level, tag, date, time, program, msg)
VALUES('$HOST', '$FACILILITY', '$PRIORITY', '$LEVEL', '$TAG',
'$YEAR-$MONTH-$DAY', $HOUR:$MIN:$SEC', '$PROGRAM', $MSG');\n")
template-escape(yes)); };

just have something on other end linstening.

cool is not it?


-andrej

Reply via email to