Vector can be installed through the RPM package manager which is generally used on CentOS.
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
.rpmfilecurl -O https://packages.timber.io/vector/0.8.X/vector-aarch64.rpm
Install the Vector
.rpmpackage directlysudo rpm -i vector-aarch64.rpm
Configure Vectorecho '[sources.in]type = "journald" # required[sinks.out]# Generaltype = "console" # requiredinputs = ["in"] # required# Encodingencoding.codec = "json" # required' > /etc/vector/vector.tomlexplain this command
Start Vectorsudo systemctl start vector
The Vector configuration file is placed in:
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 rpm -e vector
Follow the install steps again, downloading the latest version of Vector.
Vector's RPM packages are multi-arch and support the x86_64 architectures. The architecture name is prepended to the artifact file name.
Vector's RPM packages can be downloaded with the following URLs. Note that Vector maintains special URLS that are automatically updated whenever Vector is released:
Vector's RPM source files are located in Vector's repo.