This document will cover installing Vector on Ubuntu.
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