Guidance for parsing log file

Use a file input with a multiline codec

codec => multiline {
    pattern => "^%{TIMESTAMP_ISO8601} "
    negate => true
    what => "previous"
}