[syslog-ng] Statistics -- how do I turn them off?

Sandor Geller Sandor.Geller at morganstanley.com
Tue Nov 2 11:41:52 CET 2010

I'm filtering statistical messages based on the internal source and
the following regexp:

filter f_internal_statistics {
    match("^syslog-ng\[[[:digit:]]+\]: STATS") or match
("^syslog-ng\[[[:digit:]]+\]: Log statistics");

(for 3.x only the latter match is needed)

600 seconds is the default setting, the timer gets activated only when
stats_freq > 0 so stats_freq(0) should turn off  the generation of
statistical messages completely. Are the logs generated on the same
host or are you processing remote logs as well?

On Sat, Oct 30, 2010 at 10:17 PM, Liam Kirsher <liamk at numenet.com> wrote:
> My log file is filling up with statistics messages from syslog-ng (v.
> 3.1.2) , one message every 10 minutes.
> I tried turning it off by putting stats_freq(0) in the options clause,
> and restarted the syslog-ng daemon but that seems to have no effect.
> There must be something obvious I'm missing.
> --
> Liam Kirsher
> PGP: http://liam.numenet.com/pgp/
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html

More information about the syslog-ng mailing list