Vector v0.51.0 release notes
- The newly added
basename,dirnameandsplit_pathVRL functions are not accessible because they weren’t properly exposed in the latest VRL release (0.28.0). - The newly added
config_reload_rejectedandconfig_reloadedcounters are not emitted. These counters will be replaced in the next patch release (0.51.1) in favor ofcomponent_errors_totalwitherror_code="reload"andreloaded_totalmetrics, respectively. - Blackhole sink periodic statistics messages are incorrectly rate limited.
- When running Vector with debug logs enabled (
VECTOR_LOG=debug), threads panic when log messages are missing both a message and a rate limit tag. This is known to happen when the utilization debug log is emitted and in the file server (affecting thefileandkubernetes_logssources).
The Vector team is excited to announce version 0.51.0!
Please refer to the upgrade guide for breaking changes in this release.
Release highlights
- Enhanced OpenTelemetry Protocol (OTLP) support with the introduction of the
otlpcodec, enabling bidirectional conversion between Vector events and OTLP format for seamless integration with OpenTelemetry collectors and instrumentation. - Improved Vector’s internal telemetry with new
config_reload_rejectedandconfig_reloadedcounters, and fixed issues where utilization metrics reported negative values and buffer counters underflowed. - Enhanced memory enrichment tables with an
expiredoutput for exporting expired cache items, and made enrichment table outputs accessible viavector tap.
Breaking Changes
Environment variable interpolation in configuration files now rejects values containing newline characters. This prevents configuration injection attacks where environment variables could inject malicious multi-line configurations. If you need to inject multi-line configuration blocks, use a config pre-processing tool like
envsubstinstead or update your configuration files so that they don’t rely on block injections.Vector’s internal topology
debug!andtrace!logs now use thecomponent_idfield name instead ofcomponentorkey. If you are monitoring or filtering Vector’s internal logs based on these field names, update your queries to usecomponent_id.The
utilizationmetric is now capped at 4 decimal digit precision.Support for legacy fingerprints in the
filesource was dropped. Affected users may be ones that have been running Vector since version 0.14 or earlier. Consult the upgrade guide for more details.Following this announcement, we will no longer publish
x86_64-apple-darwinbuilds. this means we will not be validating if Vector builds and works correctly on that platform.
Vector Changelog
11 new features
- Added
truncateoptions tofilesink to truncate output files after some time. - Disabled ANSI color for
vector testwhen running non-interactively. Honor--color {auto|always|never}andVECTOR_COLOR; VRL diagnostics no longer include ANSI sequences when color is disabled.Thanks to VanjaRo for contributing this change! - Added proper support for compression of HEC indexer ack queries, using the sink’s configured
compressionsetting.Thanks to sbalmos for contributing this change! - Added
expiredoutput to the memory enrichment table source, to export items as they expire in the cache. - On receiving SIGHUP Vector now also reloads transform components with external VRL files.Thanks to nekorro for contributing this change!
- The
journaldsource now provides better error visibility by capturing and displaying stderr output from the underlyingjournalctlprocess as warning messages.Thanks to titaneric for contributing this change! - Improved Avro encoding error. Schema and value are now included in the messageThanks to titaneric for contributing this change!
- Vector now emits
config_reload_rejectedandconfig_reloadedcounters.Thanks to suikammd for contributing this change! - Added
otlpcodec for decoding OTLP format to Vector events, complementing the existing OTLP encoder.Thanks to pront for contributing this change! - Added
otlpcodec for encoding Vector events to OTLP format. The codec can be used with sinks that support encoding configuration.Thanks to pront for contributing this change! - Added
pathconfiguration option toprometheus_remote_writesource to allow accepting metrics on custom URL paths instead of only the root path. This enables configuration of endpoints like/api/v1/writeto match standard Prometheus remote write conventions.Thanks to elohmeier for contributing this change!
3 enhancements
- Added a new
split_metric_namespaceoption to thedatadog_agentsource to optionally disable the existing default metric name split behavior.Thanks to bruceg for contributing this change! The
aws_s3source now uses exponential backoff when retrying failed SQSreceive_messageoperations. Previously, the source used a fixed 500ms delay between retries.The new behavior starts at 500ms and doubles with each consecutive failure, capping at 30 seconds. This prevents excessive API calls during prolonged AWS SQS outages, invalid IAM permissions, or throttling scenarios, while still being responsive when the service recovers.
- Added
use_json_namesoption to protobuf encoding and decoding. When enabled, the codec uses JSON field names (camelCase) instead of protobuf field names (snake_case). This is useful when working with data that uses JSON naming conventions.Thanks to pront for contributing this change!
12 bug fixes
- The configuration watcher now collects event paths even during the delay period. These were previously ignored and prevented components from reloading.Thanks to nekorro for contributing this change!
- Enabled unused TLS settings to perform client authentication by SSL certificate in
mqttsink.Thanks to ValentinChernovNTQ for contributing this change! - Memory enrichment tables’ outputs are now visible to the
vector tapcommand. - Fixed a panic in the
azure_blobsink by enabling a missing required crate feature.Thanks to thomasqueirozb for contributing this change! - Fixed an issue where the buffer counter underflowed. This was caused by the counter not being increased before a new event was observed.Thanks to sialais for contributing this change!
- Fixed a crash on configuration reload when memory enrichment tables are configured to be used as a source.
- Fixed an issue in the
docker_logssource where thedocker_hostoption andDOCKER_HOSTenvironment variable were ignored if they started withunix://ornpipe://. In those cases the default location for the Docker socket was usedThanks to titaneric for contributing this change! - Fixed an issue where utilization could report negative values. This could happen if messages from components were processed too late and were accounted for wrong utilization measurement period. These messages are now moved to the current utilization period, meaning there might be some inaccuracy in the resulting utilization metric, but it was never meant to be precise.
- Fixed a bug where utilization metric could be lost for changed components on configuration reload.
- Fixed duplicate reporting of received event count in the
fluentsource.Thanks to gwenaskell for contributing this change! - Fixed a
opentelemetrysource bug where HTTP payloads were not decompressed according to the request headers. This only applied whenuse_otlp_decoding(recently added) was set totrue.Thanks to pront for contributing this change! - The
prometheus_remote_writesource now has ametadata_conflict_strategyoption so you can determine how to handle conflicting metric metadata. By default, the source continues to reject requests with conflicting metadata (HTTP 400 error) to maintain backwards compatibility. Setmetadata_conflict_strategytoignoreto align with Prometheus/Thanos behavior, which silently ignores metadata conflicts.Thanks to elohmeier for contributing this change!
5 chores
- Dropped support for
filesource legacy checkpoints stored in thecheckpointsfolder (Vector< 0.11) which is located inside thedata_dir. - Removed the legacy checkpoint checksum format (Vector
< 0.15). - The intentionally hidden
fingerprint.bytesoption was also removed.
How to upgrade
You can stop reading if you
- have started using the
filesource on or after version0.15, or - have cleared your
data_diron or after version0.15, or - don’t care about the file positions and don’t care about current state of your checkpoints, meaning you accept that files could be read from the beginning again after the upgrade.
- Vector will re-read all files from the beginning if/when any
checkpoints.jsonfiles nested insidedata_dirfail to load due to legacy/corrupted data.
- Vector will re-read all files from the beginning if/when any
You are only affected if your Vector version is:
>= 0.11and< 0.15, then your checkpoints are using the legacy checkpoint checksum CRC format.>= 0.11and< 0.15, then thechecksumkey is present undercheckpoints.fingerprintin yourcheckpoints.json(instead offirst_lines_checksum).- or ever was
< 0.11and you are using the legacycheckpointsfolder and/or theunknownkey is present undercheckpoints.fingerprintin anycheckpoints.jsonfiles nested insidedata_dir.
If you are affected by
#1or#2Run the
filesource with any version of Vector>= 0.15, but strictly before0.51and the checkpoints should be automatically updated. For example, if youβre on Vector0.10and want to upgrade, keep upgrading Vector until0.14and Vector will automatically convert your checkpoints. When upgrading, we recommend stepping through minor versions as these can each contain breaking changes while Vector is pre-1.0. These breaking changes are noted in their respective upgrade guides.Odds are the
filesource automatically converted checkpoints to the new format if you are using a recent version and you are not affected by this at all.If you are affected by
#3You should manually delete the
unknowncheckpoint records from allcheckpoints.jsonfiles nested insidedata_dirand then follow the upgrade guide for#1and#2. If you were using a recent version of Vector andunknownwas present it wasn’t being used anyways.Thanks to thomasqueirozb for contributing this change!- Dropped support for
- Environment variable interpolation in configuration files now rejects values containing newline characters. This prevents configuration injection attacks where environment variables could inject malicious multi-line configurations. If you need to inject multi-line configuration blocks, use a config pre-processing tool like
envsubstinstead.Thanks to pront for contributing this change! - Vector’s internal topology
debug!andtrace!logs now use thecomponent_idfield name instead ofcomponentorkey. If you are monitoring or filtering Vector’s internal logs based on these field names, update your queries to usecomponent_id.Thanks to pront for contributing this change! - The
utilizationmetric is now capped at 4 decimal digit precision.Thanks to pront for contributing this change! - Following this announcement, we will no longer publish
x86_64-apple-darwinbuilds. This means we will not be validating if Vector builds and works correctly on that platform.Thanks to pront for contributing this change!
VRL Changelog
[0.28.0 (2025-11-03)]
Breaking Changes & Upgrade Guide
- The return value of the
findfunction has been changed tonullinstead of-1if there is no match.
authors: titaneric (https://github.com/vectordotdev/vrl/pull/1514)
New Features
- Introduced the
basenamefunction to get the last component of a path.
authors: titaneric (https://github.com/vectordotdev/vrl/pull/1531)
- Introduced the
dirnamefunction to get the directory component of a path.
authors: titaneric (https://github.com/vectordotdev/vrl/pull/1532)
- Introduced the
split_pathfunction to split a path into its components.
authors: titaneric (https://github.com/vectordotdev/vrl/pull/1533)
Enhancements
- Added optional
http_proxyandhttps_proxyparameters tohttp_requestfor setting the proxies used for a request. (https://github.com/vectordotdev/vrl/pull/1534) - Added support for encoding a VRL
Integerinto a protobufdoublewhen usingencode_proto
authors: thomasqueirozb (https://github.com/vectordotdev/vrl/pull/1545)
Fixes
- Fixed
parse_glogto accept space-padded thread-id. (https://github.com/vectordotdev/vrl/pull/1515)