[syslog-ng] sql-driver and "ON duplicate KEY UPDATE"

Gergely Nagy algernon at balabit.hu
Wed Jan 2 11:24:44 CET 2013


"system at ra-schaal.de" <system at ra-schaal.de> writes:

> is it possible to perform an "ON duplicate KEY UPDATE" with the
> sql-driver for a mysql-database?

Not currently, no. There are plans to change that, however, and allow
for "ON DUPLICATE KEY UPDATE" aswell, but that's going to take a while.

> without any problems. By using this destination, syslog-ng can´t use the
> sql-driver. I`m not sure if there is any difference between sql-driver
> and the destination above.

There's quite a lot of difference, but for your use-case, the program
destination is a better fit at this time.

-- 
|8]



More information about the syslog-ng mailing list