2
0

victorialogsend: cope with blank mesage field

This commit is contained in:
2025-10-10 22:43:50 +01:00
parent a6442c872f
commit 77c6552e18
+1 -1
View File
@@ -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