mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 20:20:41 +01:00
17 lines
475 B
Plaintext
17 lines
475 B
Plaintext
# Basic test for omruleset (see .sh file for details)
|
|
# rgerhards, 2009-11-02
|
|
$IncludeConfig diag-common.conf
|
|
|
|
$ModLoad ../plugins/omruleset/.libs/omruleset
|
|
$ModLoad ../plugins/imtcp/.libs/imtcp
|
|
$InputTCPServerRun 13514
|
|
|
|
$ruleset rsinclude
|
|
$template outfmt,"%msg:F,58:2%\n"
|
|
$template dynfile,"rsyslog.out.log" # trick to use relative path names!
|
|
:msg, contains, "msgnum:" ?dynfile;outfmt
|
|
|
|
$ruleset RSYSLOG_DefaultRuleset
|
|
$ActionOmrulesetRulesetName rsinclude
|
|
*.* :omruleset:
|