summaryrefslogtreecommitdiff
path: root/tests/testsuites/imfile-basic.conf
blob: 59b109a66bce21618a672e08de326bec071c2414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$IncludeConfig diag-common.conf

$ModLoad ../plugins/imfile/.libs/imfile
$InputFileName ./rsyslog.input
$InputFileTag file:
$InputFileStateFile stat-file1
$InputFileSeverity error
$InputFileFacility local7
$InputFileMaxLinesAtOnce 100000
$InputRunFileMonitor

$template outfmt,"%msg:F,58:2%\n"
:msg, contains, "msgnum:" ./rsyslog.out.log;outfmt