summaryrefslogtreecommitdiff
path: root/tests/testsuites/elasticsearch-basic-bulk.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuites/elasticsearch-basic-bulk.conf')
-rw-r--r--tests/testsuites/elasticsearch-basic-bulk.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/testsuites/elasticsearch-basic-bulk.conf b/tests/testsuites/elasticsearch-basic-bulk.conf
new file mode 100644
index 0000000..69a0495
--- /dev/null
+++ b/tests/testsuites/elasticsearch-basic-bulk.conf
@@ -0,0 +1,10 @@
+$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")