Configuration
Global options are configured at the top level of your configuration file:Data Directory
The directory where Vector stores state data, including disk buffers, file checkpoints, and other persistent data.Path to the directory for persisting Vector state data. Vector must have write permissions to this directory.
Usage
The data directory is used for:- Disk buffers - When sinks use disk buffering
- File checkpoints - Track file reading positions
- State data - Component-specific state persistence
Permissions
Vector requires:- Read and write access to the data directory
- Ability to create subdirectories
- Sufficient disk space for buffers and state
Log Schema
Defines the default field names for core event data across all components.Default log schema for all events. Components can override these settings.
Field name for the host that generated the event.
Field name for the event message/content.
Field name for the event timestamp.
Field name for the source type identifier.
Field name for event metadata.
Example
Acknowledgements
Control how Vector handles end-to-end acknowledgements for event delivery.Global acknowledgement configuration. Can be overridden per-sink.
Enable acknowledgements globally for all sinks.
- Sources wait for sinks to confirm event delivery
- Prevents data loss during failures
- Adds latency to event processing
- Requires sink support for acknowledgements
Timezone
Set the default timezone for timestamp operations.Default timezone for timestamp conversions. Use any TZ database name or
local for system time.UTC- Coordinated Universal TimeAmerica/New_York- US Eastern TimeEurope/London- UK TimeAsia/Tokyo- Japan Timelocal- System local time
Proxy Configuration
Configure HTTP/HTTPS proxy settings for components that make external requests.Global proxy configuration.
HTTP proxy URL.
HTTPS proxy URL.
List of domains to exclude from proxying.
Example
Metrics Expiration
Control how long internal metrics persist before expiring.Seconds before internal metrics expire after not being updated. Set higher than your metrics scrape interval.
Healthchecks
Configure healthcheck behavior for all sinks.Global healthcheck configuration.
Enable healthchecks for all sinks.
Exit during startup if any sink healthcheck fails.
Enrichment Tables
Define enrichment tables for data augmentation.Named enrichment tables that can be used by transforms.
Example
Complete Example
Next Steps
- Sources - Configure data ingestion
- Transforms - Process your data
- Sinks - Send data to destinations
- Testing - Test your configuration