Parsing SMAPI logs using logstash multiline

Description

I have a log file like this,

08:43:45.167(03/24) INFO DrsSES : [Thrd:qtp1792685994-19]No Enrichment Type specified, Default All Enrichment will be returned - starting logline of Request 1
08:43:45.167(03/24) INFO DrsSES : [Thrd:qtp1792685994-26]No Enrichment Type specified, Default All Enrichment will be returned - starting logline of Request 1
08:43:48.542(03/24) INFO DrsSES : [Thrd:qtp1792685994-19]----Recieved POST Enrichment Request ----- - logline of Request 1
08:43:48.543(03/24) INFO DrsSES : [Thrd:qtp1792685994-26]----Recieved POST Enrichment Request ----- - logline of Request 2
08:43:54.680(03/24) INFO DrsSES : [Thrd:qtp1792685994-25]No Enrichment Type specified, Default All Enrichment will be returned - starting logline of Request 3
08:43:54.681(03/24) INFO DrsSES : [Thrd:qtp1792685994-25]----Recieved POST Enrichment Request ----- - logline of Request 3
08:43:54.960(03/24) INFO DrsSES : [Thrd:qtp1792685994-26]Valdiating POST Request - logline of Request 2
08:43:54.961(03/24) INFO DrsSES : [Thrd:qtp1792685994-19]Valdiating POST Request - logline of Request 1
08:43:55.033(03/24) INFO DrsSES : [Thrd:qtp1792685994-25]Valdiating POST Request - logline of Request 3
...
...
...
08:44:20.192(03/24) INFO DrsSES : [Thrd:qtp1792685994-25]----Time Taken to Service the Enrichment Request:25498ms ----- - End logline of Request 3
08:44:20.193(03/24) INFO DrsSES : [Thrd:qtp1792685994-26]----Time Taken to Service the Enrichment Request:31401ms ----- - End logline of Request 2
08:44:20.193(03/24) INFO DrsSES : [Thrd:qtp1792685994-19]----Time Taken to Service the Enrichment Request:31453ms ----- - Endlogline of Request 1

I tried to parse the log file using java to aggregate the log lines of a particular request and writing these lines to a file. Logstash parses the new file which has the parsed log lines.

Is there a inbuilt feature in logstash to parse this type of logs?

Environment

None

Status

Assignee

Logstash Developers

Reporter

Nataraj Ramalingam

Affects versions

Priority

Configure