rsyslog/tests/testsuites/es-maxbytes-bulk.conf

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")