Handle empty message events

This commit is contained in:
Stefan Reimer 2020-09-08 13:40:09 +01:00
parent e09935a819
commit 9e0e819fd6
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ fluent-bit:
return -1, 0, 0
end
-- otherwise it's a full line, concatenate with accumulated partial lines if any
record.message = reassemble_state[reassemble_key] or "" .. record.message
record.message = reassemble_state[reassemble_key] or "" .. (record.message or "")
reassemble_state[reassemble_key] = nil
return 1, timestamp, record
end