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.10.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]# Encodingencoding.codec = "json" # required# Generalinputs = ["in"] # requiredtype = "console" # 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:
Vector's DPKG source files are located in Vector's repo.