This document will cover installing Vector on MacOS.
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.
Add the Timber tap and install
vectorbrew tap timberio/brew && brew install vector
Configure Vectorcat <<-VECTORCFG > /etc/vector/vector.toml[sources.in]type = "file" # requiredinclude = ["/var/log/nginx/*.log"] # required[sinks.out]# Generaltype = "console" # requiredinputs = ["in"] # required# Encodingencoding.codec = "json" # requiredVECTORCFG'explain this command
Start Vectorbrew services start vector