Vector v0.43.0 release notes
- The
vector-0.43.0-x86_64-apple-darwin.tar.gzexecutable has the wrong architecture, see #22129. This will be fixed inv0.44.
The Vector team is pleased to announce version 0.43.0!
This release contains a few notable new features along with the numerous enhancements and fixes as listed below:
- A new
opentelemetrysink with initial support for emitting logs via OTLP over HTTP. We expect this to expand to support gRPC and emission of other data types. - A new
exclusive_routetransform to route events exclusively using an ordered set of conditions - A new
cefencoder to emit events encoded as in Common Event Format - A new
chunked_gelfframing decoder to receive chunked GELF messages - Vector’s configuration now allows for use of the YAML merge operator allowing simplification of configurations with duplication
- Two new secrets backends for loading secrets into Vector configuration:
file, which loads secrets from a JSON file, anddirectory, which loads secrets from a tree of files.
There are no breaking changes or deprecations with this release and so no upgrade guide.
Vector Changelog
9 new features
VRL was updated to v0.20.0. This includes the following changes:
Breaking Changes & Upgrade Guide
- Fixes the
to_floatfunction to return an error instead off64::INFINITYwhen parsing non-normal numbers. (https://github.com/vectordotdev/vrl/pull/1107)
New Features
- The
decryptandencryptVRL functions now support aes-siv (RFC 5297) encryption and decryption. (https://github.com/vectordotdev/vrl/pull/1100)
Enhancements
decode_punycodeandencode_punycodewith thevalidateflag set to false should be faster now, in cases when input data needs no encoding or decoding. (https://github.com/vectordotdev/vrl/pull/1104) Otherwise, it will returnNone. (https://github.com/vectordotdev/vrl/pull/1117)- The
encode_protofunction was enhanced to automatically convert valid string fields to numeric proto fields. (https://github.com/vectordotdev/vrl/pull/1114)
Fixes
- The
parse_groksVRL function and Datadog grok parsing now catch the panic coming fromrust-onigon too many regex match retries and handle it as a custom error. (https://github.com/vectordotdev/vrl/pull/1079) encode_punycodewith thevalidateflag set to false should be more consistent with whenvalidateis set to true, turning all uppercase character to lowercase as well as doing punycode encoding (https://github.com/vectordotdev/vrl/pull/1115)- Removed false warning when using
set_semantic_meaning. (https://github.com/vectordotdev/vrl/pull/1148)
- Fixes the
- The Elasticsearch sink can now write to Amazon OpenSearch Serverless via the
opensearch_service_type = "serverless"option.Thanks to handlerbot, AvihaiSam for contributing this change! Allows for chunked GELF decoding in message-based sources, such as UDP sockets or unix datagram sockets. Implementation is based on Graylog’s documentation. The implementation also supports payload decompression.
This framing method can be configured via the
framing.method = "chunked_gelf"option in the source configuration.Thanks to jorgehermo9 for contributing this change!- Adds support for loading and concatenating multiple VRL files in the
remaptransform via thefilesoption. This allows users to break down Vector remaps into smaller, more manageable units of configuration, improving organization, reusability, and maintainability of VRL code.Thanks to brittonhayes for contributing this change! - The
opentelemetrysource can now be configured to enrich log events with HTTP headers received in the OTLP/HTTP request.Thanks to jblazquez for contributing this change! - Introduce a new
exclusive_routetransform, which functions as a switch statement to route events based on user-defined conditions. See the release highlight for more details on how to use this new transform.Thanks to pront for contributing this change! The
elasticsearchsink now supports publishing events as bulk “update"s by configuringbulk.actiontoupdate. While using this mode has a couple of constraints:- The message must be added in
.docand have.doc_as_upsertto true. id_keymust be set, and theencodingfield should specifydocanddoc_as_upsertas values
Thanks to blackrez for contributing this change!- The message must be added in
- Introducing the first version of the OpenTelemetry sink. This initial implementation supports emitting logs as OTLP over HTTP. Support is expected to expand in the future.Thanks to pront for contributing this change!
- The
host_metricsnow supports process metrics collection, configurable via theprocessoption.Thanks to leeteng2001 for contributing this change!
13 enhancements
- Add ability to encode messages to Common Event Format (CEF) with the
cefencoder (widely used in SIEM systems).Thanks to nabokihms for contributing this change! - The Kubernetes Logs source can now enrich logs with pod information on Windows.Thanks to damoxc for contributing this change!
- The
sampletransform can now take in agroup_byconfiguration option that allows logs with unique values for the patterns passed in to be sampled independently. This can reduce the complexity of the topology, since users no longer need to create separate samplers with similar configurations to handle different log streams.Thanks to hillmandj for contributing this change! Expose
connection_retry_optionsin the Pulsar sink configuration to allow customizing the connection retry behaviour of the pulsar client. This includes the following options:min_backoff_ms: Minimum delay between connection retries.max_backoff_secs: Maximum delay between reconnection retries.max_retries: Maximum number of connection retries.connection_timeout_secs: Time limit to establish a connection.keep_alive_secs: Keep-alive interval for each broker connection.
Thanks to FRosner for contributing this change!- The
httpsink now retries requests when the response is a request timeout (HTTP 408).Thanks to noble-varghese, pront for contributing this change! - Pipeline name is now an optional configuration item for GreptimeDB log sink.Thanks to sunng87 for contributing this change!
- The
dnstapsource now supports decoding of EDE code 30 (Invalid Query Type) (added in Compact Denial of Existence in DNSSEC) and has the correctpurposeattached to it. - Add
VECTOR_HOSTNAMEenv variable to override the hostname used in the Vector events and internal metrics. This is useful when Vector is running on a system where the hostname is not meaningful, such as in a container (Kubernetes).Thanks to nabokihms for contributing this change! - Support compression for the Honeycomb sink. The
zstdformat is enabled by default.Thanks to hgiasac for contributing this change! - Vector now supports two additional back-ends for loading secrets:
file, for reading a set of secrets from a JSON file, anddirectory, for loading secrets from a list of files.Thanks to tie for contributing this change! - Add Gzip compression support to the
gcp_chronicle_unstructuredsink. See the documentation.Thanks to chocpanda for contributing this change! - The
sampletransform now has asample_rate_keyconfiguration option, which default tosample_rate. It allows configuring which key is used to attach the sample rate to sampled events. If set to an empty string, the sample rate will not be attached to sampled events.Thanks to dekelpilli for contributing this change! - Support for watching config file changes by polling at certain interval rather than relying on notifications. This can be enabled setting
--watch-config-methodtopollwhere the interval can be configured via--watch-config-poll-interval-seconds.Thanks to amribm for contributing this change!
6 bug fixes
execandhttp_serversources no longer attach a redundanttimestampfield when log namespacing is enabled.Thanks to rwakulszowa for contributing this change!- The
gcp_pubsubsink now supports emitting metrics and traces.Thanks to genadipost for contributing this change! - Vector now supports YAML merges in configuration files, a part of the YAML 1.1 specification. This functionality is useful for reducing the size of transform configurations. See the YAML documentation.Thanks to lattwood for contributing this change!
- The request body of the Honeycomb sink should be encoded as an array according to the API docs.Thanks to hgiasac for contributing this change!
- Fix bug in implementation of Datadog search syntax which causes queries based on attributes with boolean values to be ignored.Thanks to ArunPiduguDD for contributing this change!
- The
gelfcodec now correctly deserializes the subsecond portion of timestamps rather than dropping them.Thanks to jszwedko for contributing this change!
1 chore
- The global
expire_metrics_secsconfiguration option now defaults to300srather than being disabled. To preserve the old behavior, set to a negative value to disable expiration.Thanks to jszwedko for contributing this change!