Logstash Does Not Read In Last Line of Log

Is there any solution to this with multiline codec? I am using logstash 5.2 and having the same issue. Unable to read the last line.