Vector v0.41.0 release notes
- The
vectorsource cannot receive events encoded by thevectorsink #21252. This will be fixed in v0.41.1.
The Vector team is pleased to announce version 0.41.0!
In addition to the enhancements and fixes listed below, this release includes the following notable features:
- A new
greptimedb_logssink was added for sending logs to GreptimeDB - A new
static_metricssource was added for emitting preconfigured metrics on an interval. This can be useful for heartbeat-style metrics or for emitting a metric based on an environment variable. - Windows now supports automatic config reloading via
--watch-configas exists on other *nix platforms.
There are no breaking changes or deprecations with this release and so no upgrade guide.
Vector Changelog
5 new features
VRL was updated to v0.18.0. This includes the following changes:
New Features
- Added
unflattenfunction to inverse the result of theflattenfunction. This function is useful when you want to convert a flattened object back to its original form. - The
parse_jsonfunction now accepts an optionallossyparameter (which defaults totrue).
This new parameter allows to control whether the UTF-8 decoding should be lossy or not, replacing invalid UTF-8 sequences with the Unicode replacement character (U+FFFD) if set to
trueor raising an error if set tofalseand an invalid utf-8 sequence is found. (https://github.com/vectordotdev/vrl/pull/269)- Added casing functions
camelcase,kebabcase,screamingsnakecase,snakecase,pascalcase(https://github.com/vectordotdev/vrl/pull/973) - Added
parse_influxdbfunction to parse events encoded using the InfluxDB line protocol.
Enhancements
- The
match_datadog_queryfunction now accepts||in place ofORand&&in place ofANDin the query string, which is common Datadog syntax. (https://github.com/vectordotdev/vrl/pull/1001)
Fixes
decode_base64no longer requires canonical padding. (https://github.com/vectordotdev/vrl/pull/960)- The assumption of a Datadog Logs-based intake event structure has been removed
from the
match_datadog_queryfunction. (https://github.com/vectordotdev/vrl/pull/1003) - For the
parse_influxdbfunction thetimestampandtagsfields of returned objects are now correctly marked as nullable. - The
lokisink now has the ability to send structured metadata via the addedstructured_metadataoption.
- Added
- The
lokisink now has the ability to send structured metadata via the addedstructured_metadataoption.Thanks to maxboone for contributing this change! A new
greptimedb_logssink has been added to forward logs to Greptime.As part of this addition, the existing
greptimedbsink was renamed togreptimedb_metrics.Thanks to GreptimeTeam for contributing this change!- A new
static_metricssource was added. This source periodically emits preconfigured values. - Support was added for configuring the endpoint of the
honeycombsink. This allows sending data to Honeycomb’s EU endpoint in addition to the default US endpoint.Thanks to raytung for contributing this change!
4 enhancements
- The
geoipenrichment table now has support for the GeoIP2-Anonymous-IP MaxMind database type.Thanks to publicfacingusername for contributing this change! - The
kafkasink now retries sending events that failed to be sent for transient reasons. Previously it would reject these events.Thanks to frankh for contributing this change! - The
kafkasink now supports OIDC authentication through the exposedlibrdkafka_options.Thanks to zapdos26 for contributing this change! - Windows now supports the
--watch-configcommand line parameter just like every other platform and will reload the configuration files on any change.Thanks to darklajid for contributing this change!
13 bug fixes
- Support was added for fetching secrets from AWS secrets manager when using SSO profiles in a
~/.aws/configfile.Thanks to britton-from-notion, ycrliu for contributing this change! - The
socketsink can now accept metric events when using codecs that support encoding metrics.Thanks to nichtverstehen for contributing this change! - An issue was fixed where the configuration watcher did not properly handle recursive directories. This fix ensures configuration will be reloaded when using the automatic namespacing feature of configuration loading.Thanks to ifuryst for contributing this change!
- Log sources can now use metrics-only decoders such as the recently added
influxdbdecoder.Thanks to jorgehermo9 for contributing this change! - The
influxdbdecoder now uses nanosecond-precision for timestamps instead of microsecond-precision, as stated in InfluxDB’s documentation.Thanks to jorgehermo9 for contributing this change! - The
kafkasink no longer emits warnings due to applying rdkafka options to a consumer used for the health check. Now it uses the producer client for the health check.Thanks to belltoy for contributing this change! - The
amqpsource no longer panics when deserializing metrics (such as thenative_jsoncodec).Thanks to kghost for contributing this change! - The
datadog_searchcondition, which may be used in filter component conditions, now properly handles direct numeric type equality checks for log attributes. - The
reducetransform can now reduce fields that contain special characters. - Vector no longer panics during configuration loading if a secret is used for a configuration option that has additional validation (such as URIs).
- The
filesource now properly handle exclude patterns with multiple slashes when matching files.Thanks to suikammd for contributing this change! - The
http_serversource now properly writes all the specified query parameters to%http_server.query_parameterswhen log namespacing is enabled.Thanks to Zettroke for contributing this change! - The
socketsource now respects the globallog_namespacesetting.Thanks to Zettroke for contributing this change!