summaryrefslogtreecommitdiffstats
path: root/tests/imfile-endmsg.regex.json.rulebase
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:28:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 16:28:20 +0000
commitdcc721a95bef6f0d8e6d8775b8efe33e5aecd562 (patch)
tree66a2774cd0ee294d019efd71d2544c70f42b2842 /tests/imfile-endmsg.regex.json.rulebase
parentInitial commit. (diff)
downloadrsyslog-dcc721a95bef6f0d8e6d8775b8efe33e5aecd562.tar.xz
rsyslog-dcc721a95bef6f0d8e6d8775b8efe33e5aecd562.zip
Adding upstream version 8.2402.0.upstream/8.2402.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tests/imfile-endmsg.regex.json.rulebase9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/imfile-endmsg.regex.json.rulebase b/tests/imfile-endmsg.regex.json.rulebase
new file mode 100644
index 0000000..6bdfac0
--- /dev/null
+++ b/tests/imfile-endmsg.regex.json.rulebase
@@ -0,0 +1,9 @@
+version=2
+rule=:%{"name":"multilinejson", "type":"repeat", "option.permitMismatchInParser": true,
+ "parser":[
+ {"type":"json", "name":"."}
+ ],
+ "while":[
+ {"type":"char-sep", "extradata":"{"}
+ ]
+ }%