---
title: Vector
slug: telemetry-pipeline/vector
docTags: 
createdAt: 2025-04-21T00:47:37.055Z
---

## Vector Source

Collect logs, metrics, and traces from another **upstream Vector instance**.
&#x20;This source is designed to receive data emitted by the **Vector sink**, enabling Vector-to-Vector communication across hosts, clusters, or network boundaries.

It is commonly used to build **tiered telemetry pipelines**, such as agent → aggregator or edge → core architectures.

## Collection Model

- Listens on a network socket for incoming Vector protocol connections&#x20;
- Receives structured telemetry data emitted by upstream Vector instances&#x20;
- Preserves event types (logs, metrics, traces) without implicit conversion&#x20;
- Designed for reliable, backpressure-aware data forwarding&#x20;

This source participates in Vector’s **end-to-end acknowledgement mechanism**, enabling delivery guarantees across multiple pipeline stages.

## Typical Architecture Patterns

- **Agent → Aggregator**&#x20;
- **Node-level Vector → Cluster-level Vector**&#x20;
- **Edge collection → Central processing**&#x20;
- **Multi-hop telemetry pipelines**&#x20;

The Vector source is optimized for **Vector-native communication** and should not be used as a generic log receiver.

## Network Binding

### address (required)

Defines the socket address on which the Vector source listens for incoming connections.

Operational notes:

- Must include a port number&#x20;
- Determines where upstream Vector sinks connect&#x20;
- Should be reachable from upstream instances, considering firewalls and network policies&#x20;

## Acknowledgement Handling

### acknowledgements (deprecated)

Source-level acknowledgement configuration is deprecated.

Important notes:

- Enabling or disabling acknowledgements at the source level has **no effect**&#x20;
- Acknowledgement behavior is now controlled globally or at the sink level&#x20;
- This ensures consistent, end-to-end delivery semantics&#x20;

For details, refer to Vector’s end-to-end acknowledgement model.

## Delivery Semantics

- **At-least-once delivery** is supported when acknowledgements are enabled upstream&#x20;
- Events are acknowledged only after successful downstream processing&#x20;
- Provides protection against data loss during transient failures&#x20;

This makes the Vector source suitable for **reliable aggregation tiers**.

## TLS Support

TLS can be enabled to secure Vector-to-Vector communication.

When enabled:

- Connections are encrypted&#x20;
- Server identity is verified&#x20;
- Optional mutual TLS (mTLS) can be enforced&#x20;

### TLS Enablement

### tls.enabled (optional)

Controls whether TLS is required for incoming or outgoing connections.

When enabled for incoming connections:

- A server certificate is mandatory&#x20;
- Clients must negotiate TLS successfully to connect&#x20;

### Certificate Configuration

TLS configuration supports:

- Server certificate and private key&#x20;
- Encrypted private keys with passphrases&#x20;
- Custom Certificate Authority bundles&#x20;
- Inline or file-based certificate material&#x20;

### Verification Controls

### tls.verify\_certificate (optional)

Enforces certificate chain validation.

If enabled:

- Certificates must be valid and not expired&#x20;
- Issuers must be trusted&#x20;
- Full chain verification is performed up to a root certificate&#x20;

Disabling this weakens security and should only be done in controlled environments.

### tls.verify\_hostname (optional)

Enables hostname verification for outgoing connections.

Ensures that:

- The hostname matches the certificate’s Common Name or SAN entry&#x20;

Only relevant when the component initiates connections.

### ALPN Support

### tls.alpn\_protocols (optional)

Defines supported ALPN protocols during TLS negotiation.

Protocols are prioritized in the order they are declared.

## Protocol Versioning

### version (optional)

Specifies the Vector protocol configuration version.

Currently supported:

- **Version 2**&#x20;

This acts as a compatibility marker between communicating Vector instances.

## Reliability Characteristics

- Stateless operation&#x20;
- Supports backpressure-aware streaming&#x20;
- Integrates with Vector’s acknowledgement pipeline&#x20;
- Suitable for high-throughput, production-grade telemetry forwarding&#x20;

## Common Use Cases

- Central aggregation of logs, metrics, and traces&#x20;
- Secure Vector-to-Vector communication across networks&#x20;
- Building scalable, multi-tier observability pipelines&#x20;
- Reducing complexity compared to generic protocols (Syslog, HTTP)&#x20;
- Preserving structured telemetry without re-parsing&#x20;
