From 77737e8ab2aa2899b75709cd2282cd213aea88d8 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 10 Jan 2013 16:37:59 +0100 Subject: impstats: added ability to write stats records to local file ...and avoid going through the syslog log stream. syslog logging can now also be turned off (see doc for details). --- ChangeLog | 3 ++ doc/impstats.html | 100 +++++++++++++++++++++++++++++++++++--------- doc/omfile.html | 4 +- plugins/impstats/impstats.c | 74 +++++++++++++++++++++++++++++--- 4 files changed, 155 insertions(+), 26 deletions(-) diff --git a/ChangeLog b/ChangeLog index aed33f82..bc860164 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ ---------------------------------------------------------------------------- Version 7.2.x (?really?) [v7-stable] 2013-??-?? +- impstats: added ability to write stats records to local file + and avoid going through the syslog log stream. syslog logging can now + also be turned off (see doc for details). - omudpspoof: add support for new config system - omudpspoof: add support for packets larger than 1472 bytes On Ethernet, they need to be transmitted in multiple fragments. While diff --git a/doc/impstats.html b/doc/impstats.html index 64b04a30..8db9c6f6 100644 --- a/doc/impstats.html +++ b/doc/impstats.html @@ -16,26 +16,66 @@ availabilty and format of counters may change and is not yet stable (so be prepared to change your trending scripts when you upgrade to a newer rsyslog version).

The set of available counters will be output as a set of syslog messages. This output is periodic, with the interval being configurable (default is 5 minutes). -Be sure that your configuration records the counter messages (default is syslog.info). +Be sure that your configuration records the counter messages (default is syslog.=info). +Besides logging to the regular syslog stream, the module can also be configured to +write statistics data into a (local) file.

Note that loading this module has impact on rsyslog performance. Depending on settings, this impact may be noticable (for high-load environments).

The rsyslog website has an updated overview of available rsyslog statistic counters.

-

Configuration Directives:

+

Module Confguration Parameters:

+

This module supports module parameters, only.

+

Legacx Configuration Directives:

+A limited set of parameters can also be set via the legacy configuration +syntax. Note that this is intended as an upward compatibilit layer, so +newer features are intentionally not available via legacy directives. +