Vector Source
The Vector vector source ingests data through another upstream vector sink and outputs log and metric events.
Configuration
- Common
- Advanced
[sources.my_source_id]type = "vector" # example, must be: "vector"address = "0.0.0.0:9000" # example
Options
address
The TCP address to listen for connections on, or "systemd#N" to use the Nth socket passed by systemd socket activation.
shutdown_timeout_secs
The timeout before a connection is forcefully closed during shutdown.
30Output
The vector source is a pass-through source and is intended to accept data
from an upstream vector sink. Datta is not changed or
augmented.
How It Works
Encoding
Data is encoded via Vector's event protobuf before it is sent over the wire.
Environment Variables
Environment variables are supported through all of Vector's configuration.
Simply add ${MY_ENV_VAR} in your Vector configuration file and the variable
will be replaced before being evaluated.
You can learn more in the Environment Variables section.
Message Acking
Currently, Vector does not perform any application level message acknowledgement. While rare, this means the individual message could be lost.
TCP Protocol
Upstream Vector instances forward data to downstream Vector instances via the TCP protocol.