[syslog-ng] Store syslog occurrence frequency instead of adding all of them to the DB
Jakub Jankowski
shasta at toxcorp.com
Fri Aug 19 18:57:57 CEST 2011
On 2011-08-19, syslogng at feystorm.net wrote:
> The idea that was mentioned is not without its flaws.
[...]
> Secondly using a 32-bit checksum of the message text to determine uniqueness
> is risky. It would be farily easy to end up with 2 different messages that
> have the same checksum. A md5 checksum would be much better, but I dont
> believe syslog-ng has a function to compute md5 sums.
One can delegate this task to the database itself. MySQL has MD5() as well
as SHA1() built in.
--
Jakub Jankowski|shasta at toxcorp.com|http://toxcorp.com/
GPG: FCBF F03D 9ADB B768 8B92 BB52 0341 9037 A875 942D
More information about the syslog-ng
mailing list