mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 16:50:42 +01:00
12 lines
326 B
Plaintext
12 lines
326 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"
|
|
maxbytes="1k")
|