This document will cover installing Vector on Windows.
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
.msifilepowershell Invoke-WebRequest https://packages.timber.io/vector/0.10.X/vector-x64.msi -OutFile vector-x64.msi
Install the Vector
msiexeccommandmsiexec /i vector-x64.msi /quiet
Navigate to the Vector directorycd "C:\Program Files\Vector"
Configure Vectorcat <<-VECTORCFG > config\vector.toml[sources.in]include = ["/var/log/nginx/*.log"] # requiredtype = "file" # required[sinks.out]# Encodingencoding.codec = "json" # required# Generalinputs = ["in"] # requiredtype = "console" # requiredVECTORCFGexplain this command
Start Vector.\bin\vector --config config\vector.toml