mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 19:10:42 +01:00
11 lines
313 B
Plaintext
11 lines
313 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"
|
|
server="localhost"
|
|
template="tpl"
|
|
searchIndex="rsyslog_testbench")
|