mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 01:00:40 +01:00
12 lines
344 B
Plaintext
12 lines
344 B
Plaintext
$IncludeConfig diag-common.conf
|
|
|
|
template(name="tpl" type="string"
|
|
string="{\"msgnum\":\"%msg:F,58:2%\"}")
|
|
|
|
module(load="../plugins/omelasticsearch/.libs/omelasticsearch")
|
|
:msg, contains, "msgnum:" action(type="omelasticsearch"
|
|
template="tpl"
|
|
searchIndex="rsyslog_testbench"
|
|
bulkmode="on"
|
|
errorFile="./rsyslog.errorfile")
|