[syslog-ng] Store syslog occurrence frequency instead of adding all of them to the DB

system at ra-schaal.de system at ra-schaal.de
Thu Aug 18 20:33:43 CEST 2011


Am 18.08.2011 19:52, schrieb Marcos Tang:

> Can those records being "processed" some how and when I search the MySQL
> DB, I only see ONE record list the following only? 
> 
> Total occurrenceMessage content
> =====================
> 14,400File system is full
> 

can´t you use something like

INSERT INTO tables VALUES (date,logstring) ON duplicate KEY UPDATE date;

?

florian


More information about the syslog-ng mailing list