I am sending PG logs to Elasticsearch and want to merge a line with statement and a line with duration into one document. Having a statement line and a duration line, can I assume that if a session ids (%c) of these lines match, and numbers of log lines (%l) are consecutive, then the duration line belongs to statement line?