$linuxjunkies
>

vector(1)

Vector is a lightweight, open-source data pipeline tool for collecting, transforming, and routing logs and metrics.

UbuntuDebianFedoraArch

Synopsis

vector [COMMAND] [OPTIONS]

Description

Vector is a high-performance, end-to-end (agent and aggregator) platform for building observability pipelines. It collects logs, metrics, and traces from various sources, transforms them using a simple configuration language, and routes them to multiple destinations.

Vector runs as a standalone daemon or can be embedded in applications. It supports dozens of input sources (files, syslog, Kafka, HTTP) and output sinks (Datadog, Elasticsearch, CloudWatch, S3, and many others), making it ideal for centralizing observability data without vendor lock-in.

Common options

FlagWhat it does
-c, --config FILERead configuration from specified file (TOML, YAML, or JSON)
-d, --dry-runValidate configuration without starting the daemon
-q, --quietSuppress informational output (only show warnings and errors)
-vvEnable debug logging (twice for extra verbosity)
--watch-configAutomatically reload configuration when files change
-l, --log-level LEVELSet logging level (trace, debug, info, warn, error)
--versionDisplay Vector version and exit
--helpShow help message and available commands

Examples

Check installed Vector version

vector --version

Start Vector daemon with configuration from /etc/vector/vector.toml

vector -c /etc/vector/vector.toml

Validate configuration file without actually running Vector

vector -d -c config.toml

Run Vector with debug logging and automatically reload when config files change

vector -c config.toml --watch-config -vv

Validate the configuration file and show any errors or warnings

vector validate config.toml

Show real-time metrics about Vector's performance and data throughput

vector top

Run Vector silently, only showing errors and warnings

vector -c config.toml --quiet

Related commands