Hi all.
I have a problem with filebeat multinline
filebeat.yml Input
- type: log
id: onetest
enabled: true
tags: ["onetest"]
parsers:
- multinline:
type: pattern
pattern: '(\d\d:\d\d)\.(\d+)-(\d+)'
negative: true
match: after
paths:
- c:/Test/MyLog/*.log
input.conf in logstash
match => { "message" => "Sql=[\"\']%{INSIDEQUOTES:sql_text}[\"\']" }
INSIDEQUOTES ([^"']*)
example log file:
01:42.205063-2186916,EXCPCNTX,4,Sql="SELECT TOP 30
CASE WHEN (T1._Fld16574_TYPE = 0x08 AND ..."
But in console output I got:
"message" => "CASE WHEN (T1._Fld16574_TYPE = 0x08 AND
Filebeat splits a logical line into multiple lines, as if the pattern doesn't work. In grok debugger all works great.