commit 77c6552e18e9f1c8a57ecdbd5c73703397a4ae14 parent a6442c872f6120c6e17df9b94b8388519014aab6 Author: Daniel Barlow <dan@telent.net> Date: Fri, 10 Oct 2025 22:43:50 +0100 victorialogsend: cope with blank mesage field Diffstat:
| M | pkgs/logshippers/victorialogsend.fnl | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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