I need the regex syntax for multiline.pattern for my filebeat.yml. Please find the attached logs line for which I need the regex syntax. logs
Asked
Active
Viewed 248 times
1 Answers
0
At first glance this one will be enough:
filebeat.inputs:
- type: log
enabled: true
# https://www.elastic.co/guide/en/beats/filebeat/current/multiline-examples.html
multiline.pattern: '^.{3} \d{2}, \d{4}'
multiline.negate: true
multiline.match: after
Log example:
Jul 03, 2019 12:14:05 PM com.splunk

vladimir
- 13,428
- 2
- 44
- 70
-
I glad to help you ;) – vladimir Nov 06 '19 at 17:55