Filebeat Multiline.Pattern error parsing regexp

Hello,

Can someone give me a hint why the following Regex is not working within filebeat?
^[\d{4}[\S\s]+?]]?$

Errormessage is:
2019-09-18T13:14:38.496+0200 ERROR instance/beat.go:877 Exiting: Error while initializing input: error parsing regexp: missing closing ]: [^]+?\]\]?(?-m:$) accessing 'filebeat.inputs.1.multiline.pattern' (source:'filebeat.yml')
Exiting: Error while initializing input: error parsing regexp: missing closing ]: [^]+?\]\]?(?-m:$) accessing 'filebeat.inputs.1.multiline.pattern' (source:'filebeat.yml')

In https://regex101.com/ and https://play.golang.org/ it works - but maybe I got something wrong with the supported regex dialect or engines

Thanks in advance.
BW

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.