[syslog-ng] feature request: clear stats counters after diplayed

syslogng at feystorm.net syslogng at feystorm.net
Mon Oct 17 16:49:47 CEST 2011


I was wondering if it would be possible to clear the stats generated by 
syslog-ng after theyre logged from the stats_freq setting. Basically so 
every set of stats that gets displayed will be the numbers since the 
last time stats were displayed, not for the whole lifetime of the process.
Largely, this is just so that one can easily tell if processing has 
changed in a certain time period without having to do the math. 
Additionally it also would help a great deal with system health 
monitoring software. For example, something could look to see if 
syslog-ng has dropped any messages, but as it currently is it would have 
to compare the most recent stats with the previous set of stats just to 
see if the dropped counter went up.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20111017/e25c1b3a/attachment.htm 


More information about the syslog-ng mailing list