Configure Vector to parse, transform, and route log events using VRL (Vector Remap Language) with multiple sinks

domain: vector.dev · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Define a sources block in vector.toml with a file or socket source ingesting raw log lines
  2. Add a transforms block using the remap transform type and write a VRL program to parse JSON, extract fields, and add metadata
  3. Use the route transform to split events by a field value into named outputs, each routable to a different sink
  4. Configure multiple sinks (such as a Loki sink and an S3 sink) and reference the route transform outputs as inputs
  5. Run vector validate --config vector.toml and then vector top to monitor throughput and error rates per component

Known gotchas

Related routes

Build Vector pipelines with VRL transforms to parse and route logs
vector.dev · 6 steps · unrated
Build a log processing pipeline with Vector to parse, enrich, and route logs to multiple sinks
vector.dev · 6 steps · unrated
Configure Fluent Bit to collect Kubernetes pod logs, parse multiline stack traces, and forward to an OTLP-compatible backend
docs.fluentbit.io · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans