From 6be2f0697fde2330bd46127cd7017a79af1d6025 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Tue, 8 Sep 2020 13:40:09 +0100 Subject: [PATCH] Handle empty message events --- charts/kubezero-logging/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kubezero-logging/values.yaml b/charts/kubezero-logging/values.yaml index 1cb9b32b..f54e407c 100644 --- a/charts/kubezero-logging/values.yaml +++ b/charts/kubezero-logging/values.yaml @@ -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