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]include = ["/var/log/nginx/*.log"] # requiredtype = "file" # required[sinks.out]# Encodingencoding.codec = "json" # required# Generalinputs = ["in"] # requiredtype = "console" # requiredVECTORCFGexplain this command
Start Vectorbrew services start vector