Vector can be installed through the DPKG package manager which is generally used on Debian and Ubuntu systems.
The daemon deployment strategy is designed for data
collection on a single host. Vector runs in the background, in its own process,
collecting all data for that host.
Typically data is collected from a process manager, such as Journald via
journald source, but can be collected
through any of Vector's sources.
The following diagram demonstrates how it works.
Download the Vector
.debpackagecurl --proto '=https' --tlsv1.2 -O https://packages.timber.io/vector/0.9.X/vector-amd64.deb
Install the downloaded packagesudo dpkg -i vector-amd64.deb
Configure Vectorcat <<-VECTORCFG > /etc/vector/vector.toml[sources.in]type = "journald" # required[sinks.out]# Generaltype = "console" # requiredinputs = ["in"] # required# Encodingencoding.codec = "json" # requiredVECTORCFGexplain this command
Start Vectorsudo systemctl start vector
The Vector configuration file is located at:
A full spec is located at
/etc/vector/vector.spec.toml and examples are
/etc/vector/examples/*. You can learn more about configuring
Vector in the Configuration section.
How you deploy Vector is largely dependent on your use case and environment. Please see the deployment section for more info on how to deploy Vector.
Vector can be managed through the Systemd service manager:
sudo dpkg -r vector
Vector's DPKG packages are multi-arch and support the x86_64, ARM64, and ARMv7 architectures. The architecture name is prepended to the artifact file name.
Vector's DPKG packages can be downloaded with the following URLs. Note that Vector maintains special URLS that are automatically updated whenever Vector is released:
Vector's DPKG source files are located in Vector's repo.