rsyslog/tests/testsuites/stats-json.conf
2016-03-30 19:46:19 +05:30

12 lines
400 B
Plaintext

$IncludeConfig diag-common.conf
ruleset(name="stats") {
action(type="omfile" file="./rsyslog.out.stats.log")
}
module(load="../plugins/impstats/.libs/impstats" interval="1" severity="7" resetCounters="on" Ruleset="stats" bracketing="on" format="json")
if ($msg == "this condition will never match") then {
action(name="an_action_that_is_never_called" type="omfile" file="./rsyslog.out.log")
}