/ Apr 9th, 2020 /

Set the Lua transform `search_dirs` option to Vector's config dir by default

This allows you to place Lua scripts in the same dir as your Vector config

As part of our recent Lua improvements we've defaulted the search_dirs option to the same directory as your Vector configuration file(s). This is usually what's expected and allows you to place all of your Vector related files together.

Upgrade Guide

Make the following changes in your vector.toml file if your Lua files are not in the same directory as your Vector configuration file:

vector.toml
[transform.my-script]
type = "lua"
+ search_dirs = "/my/other/dir"

That's it!

Get This Change

This change was made available in 0.9.0. You can get this change by downloading the latest stable release.

Like What You See?