Vector
Configuration Options
Required Options
address(required)
The HTTP address to listen for connections on. It must include a port.
Type | Syntax | Default | Example |
---|---|---|---|
string | literal | ["0.0.0.0:9000"] |
type(required)
The component type. This is a required field for all components and tells Vector which component to use.
Type | Syntax | Default | Example |
---|---|---|---|
string | literal | ["vector"] |
Advanced Options
acknowledgements(optional)
Controls if the source will wait for destination sinks to deliver the events before acknowledging receipt.
Type | Syntax | Default | Example |
---|---|---|---|
bool |
shutdown_timeout_secs(optional)
The timeout before a connection is forcefully closed during shutdown.
Type | Syntax | Default | Example |
---|---|---|---|
uint | 30 |
receive_buffer_bytes(optional)
Configures the receive buffer size using the SO_RCVBUF
option on the socket.
Type | Syntax | Default | Example |
---|---|---|---|
uint | [65536] |
keepalive(optional)
Configures the TCP keepalive behavior for the connection to the source.
Type | Syntax | Default | Example |
---|---|---|---|
hash | [] |
tls(optional)
Configures the TLS options for incoming connections.
Type | Syntax | Default | Example |
---|---|---|---|
hash | literal | [] |
version(optional)
Source API version. Specifying this version ensures that Vector does not break backward compatibility.
Type | Syntax | Default | Example |
---|---|---|---|
string | literal | 1 |
How it Works
State
This component is stateless, meaning its behavior is consistent across each input.
Transport Layer Security (TLS)
Vector uses OpenSSL for TLS protocols. You can
adjust TLS behavior via the tls.*
options.
Context
By default, the vector
source augments events with helpful
context keys.