logstash multiline: Adding lastline to previous line.

Description

smLog=permalink;recordId=DrsSESERFE;permalink=001;actionName=ERFE;bytesIn=0;bytesOut=0;status=OK;transId=1400593619256;url=null;userPermID=null
smLog=permalink;recordId=DrsSESCLASSIFY;permalink=001;actionName=CLASSIFY;bytesIn=0;bytesOut=0;status=OK;transId=1400593619256;url=null;userPermID=null
smLog=permalink;recordId=DrsSESTerms;permalink=001;actionName=ENRICHMENT;bytesIn=0;bytesOut=0;status=OK;transId=1400593619256;url=null;userPermID=null

These 3 line are one set and I have create record out of these 3 lines. The problem here is
first 2 lines are optional(anyone or both wont come in some cases), so cannot use it pattern.

Problem: last line of the log is coming in the next(2nd) multiline record.

How can I attach the last line in the same multiline record?

Environment

None

Status

Assignee

Logstash Developers

Reporter

Nataraj Ramalingam

Affects versions

Priority

Configure