vector: the ingestion endpoint is under /logs too

VictoriaLogs' -http.pathPrefix applies to every endpoint, not just the UI, so the elasticsearch bulk path is
/logs/insert/elasticsearch/. It rejected the writes with exactly that message. The other three references
(vmalert datasource, the metrics scrape, the deadman health probe) were already prefixed correctly.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-11-03 16:26:21 -06:00
parent f8f2233a55
commit 18d443579d

View File

@@ -89,7 +89,8 @@ sinks:
victorialogs: victorialogs:
type: elasticsearch type: elasticsearch
inputs: [parsed] inputs: [parsed]
endpoints: ["http://victorialogs:9428/insert/elasticsearch/"] # -http.pathPrefix=/logs applies to EVERY endpoint, ingestion included, so the bulk path lives under it
endpoints: ["http://victorialogs:9428/logs/insert/elasticsearch/"]
mode: bulk mode: bulk
api_version: v8 api_version: v8
compression: gzip compression: gzip