[syslog-ng] duplicate lines

Ed Ravin eravin at panix.com
Thu Jun 9 16:56:52 CEST 2005


On Sun, Jun 05, 2005 at 07:29:46PM +0200, Peter Straka wrote:

> I would ask you if it is posible to write filter which remove every
> duplicate lines from one source
> 
> usage as: log ( source; filter(duplicate); destination)
> parameters:
>       number of lines which can be betwen the same line (this is becouse
> some messages are repeated in a block of lines)

It's possible, and this has been requested before, since it's the one
feature in syslogd that isn't replicated in syslog-ng.  No one has
volunteered to code it yet... :-)


More information about the syslog-ng mailing list