{
"sinks": {
"maxQueueSize": 50000,
"enableEdnsLogging": true,
"console": {
"enabled": false
},
"http": {
"enabled": true,
"endpoint": "https://victorialogs.example.com:9429/insert/jsonline",
"headers": {
"VL-Time-Field": "timestamp",
"VL-Msg-Field": "question.questionName",
"VL-Extra-Fields": "app_name=TechnitiumDNSServer,host.name=host.example.com,severity_text=INFO",
"VL-Stream-Fields": "app_name,host.name"
},
"ndjson": true
}
},
"pipeline": {
"normalize": {
"enabled": true
},
"tagging": {
"enabled": false,
"tags": [
]
}
}
}
2026-09-17T08:15:45.207Z warn VictoriaLogs/app/vlinsert/jsonline/jsonline.go:79 jsonline: cannot read line #1 in /jsonline request: cannot parse JSON: cannot parse number: unexpected char: ","; unparsed tail: ",{\"answers\":
{"answers":[...],"clientIp":"..."}
,{"answers":[...],"clientIp":"..."}
The file and console sinks use the same serializer, so they probably have the same problem (not tested).
Version:
OS and platform:
Configuration:
Error Message:
Expected Behavior:
Actual Behavior:
,Steps to Reproduce:
The file and console sinks use the same serializer, so they probably have the same problem (not tested).
Root Cause:
SkipValidation = true, the reusedUtf8JsonWriterwrites a separator before each top-level value after the firstProposed Fix:
Utf8JsonWriter.Reset()after each record is flushed