Does syslog-ng have the ability of controlling repeated lines?
I always got multiple lines of repeated messages. Syslog can merge them into a line like 'last message repeated n times'. But syslog-ng did not. Is there any way to make syslog-ng working in the same way? Best regards, Mao Rui
On Thu, 2008-11-13 at 14:41 +0800, Mao Rui wrote:
I always got multiple lines of repeated messages. Syslog can merge them into a line like ‘last message repeated n times’. But syslog-ng did not. Is there any way to make syslog-ng working in the same way?
This is supported by syslog-ng 2.1 onwards -- Bazsi
I believe you can use 'suppress(#seconds)' From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Mao Rui Sent: Thursday, November 13, 2008 1:42 AM To: syslog-ng@lists.balabit.hu Subject: [syslog-ng] Does syslog-ng have the ability of controlling repeatedlines? I always got multiple lines of repeated messages. Syslog can merge them into a line like 'last message repeated n times'. But syslog-ng did not. Is there any way to make syslog-ng working in the same way? Best regards, Mao Rui
participants (3)
-
Balazs Scheidler
-
Kevin Cruse
-
Mao Rui