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.9.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]type = "file" # requiredinclude = ["/var/log/nginx/*.log"] # required[sinks.out]# Generaltype = "console" # requiredinputs = ["in"] # required# Encodingencoding.codec = "json" # requiredVECTORCFGexplain this command
Start Vector.\bin\vector --config config\vector.toml