"Latest" represents the latest released version.
"Nightly" builds are released nightly and built from the
master repo branch.
Copy the appropriate download link above and then proceed to download it:
curl -o <release-download-url> | tar -xzf --directory="vector" --strip-components=1
This will create a directory called
vector. Let's change into that directory:
ls command shows the following directory structure:
LICENSEREADME.mdbin/vector - The vector binaryconfig/vector.toml - Default Vector configurationconfig/vector.spec.toml - Full Vector configuration specificationconfig/examples/* - A variety of configuration examplesetc/systemd/vector.service - Systemd service fileetc/init.d/vector - Init.d service file
vector is in your
$PATH let's add it to your profile:
echo "export PATH=\"$(pwd)/vector/bin:\$PATH\"" >> $HOME/.profilesource $HOME/.profile
That's it! You can start vector with:
vector --config config/vector.toml
Proceed to configure Vector for your use case.
The Vector configuration file is located at:
A full spec is located at
config/vector.spec.toml and examples are located in
config/vector/examples/*. You can learn more about configuring Vector in the Configuration section.
We highly recommend creating a data directory that Vector can use:
And in your
data_dir = "/var/lib/vector"
For certain release targets Vector releases limited builds. These builds lack the following features:
The reason these features are not included is due to the libraries required to power them. Specifically, we use
rdkafka to power these features. Unfortunately, compiling and/or statically linking these libraries has proven to be a challenge. This is something we are working to resolve. You can track progress on issue 546.
Vector archives ship with service files in case you need them:
To install Vector into Init.d run:
cp -a etc/init.d/vector /etc/init.d
To install Vector into Systemd run:
cp -a etc/systemd/vector /etc/systemd/system
Simply follow the same installation instructions above.