Skip to content

Guide: Compiling Vector with local changes to VRL

Pavlos Rontidis edited this page Sep 22, 2025 · 3 revisions

This guide describes the steps needed to compile VRL locally and use that in the compilation of Vector.

  1. Clone the VRL repo to your workspace directory, alongside your copy of the Vector repo.

  2. Checkout the branch/commit you want or you can just make changes to origin/main directly.

  3. In Vector, edit the Cargo.toml line that sets the vrl crate. For example:

-vrl = { git = "https://github.com/vectordotdev/vrl.git", branch = "main", features = ["arbitrary", "cli", "test", "test_framework"] }
+vrl = { path = "../vrl", features = ["cli", "test", "test_framework", "arbitrary"] }
  1. Build Vector.
Clone this wiki locally