From 77c6552e18e9f1c8a57ecdbd5c73703397a4ae14 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Fri, 10 Oct 2025 22:43:50 +0100 Subject: [PATCH] victorialogsend: cope with blank mesage field --- pkgs/logshippers/victorialogsend.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/logshippers/victorialogsend.fnl b/pkgs/logshippers/victorialogsend.fnl index db6b2b7..f7c2db6 100644 --- a/pkgs/logshippers/victorialogsend.fnl +++ b/pkgs/logshippers/victorialogsend.fnl @@ -61,7 +61,7 @@ Host: %s\ "2025-10-05T22:26:54.628Z")) (fn process-line [line] - (let [(timestamp hostname service msg) (string.match line "(@%x+) (%g+) (%g+) (.+)$")] + (let [(timestamp hostname service msg) (string.match line "(@%x+) (%g+) (%g+) (.*)$")] (-> (if timestamp (string.format