Handle empty message events
This commit is contained in:
parent
d04e7fa0f1
commit
6be2f0697f
@ -310,7 +310,7 @@ fluent-bit:
|
|||||||
return -1, 0, 0
|
return -1, 0, 0
|
||||||
end
|
end
|
||||||
-- otherwise it's a full line, concatenate with accumulated partial lines if any
|
-- 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
|
reassemble_state[reassemble_key] = nil
|
||||||
return 1, timestamp, record
|
return 1, timestamp, record
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user