APT and YUM package repositories will use a new signing key on November 30, 2026. Migration instructions

Vector v0.63.0 release notes

Upgrading Vector
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. Read the upgrade guide for this release.

The COSE team is happy to announce Vector 0.63.0! 🚀

Thanks to the 21 contributors who made the 32 changes in this release:

Upgrading to 0.63? Read the upgrade guide.

Vector Changelog

1 breaking change

  • Reading a metric event in VRL now includes its value

    VRL now exposes the value of a metric event under a field named after its type, such as .gauge or .distribution. This changes the result of programs that already read these paths or the whole event:

    • .gauge on a gauge metric previously returned null. It now returns an object containing .gauge.value, so exists(.gauge) changes from false to true.
    • Reading the whole event with . includes the value field, so functions such as encode_json(.) and keys(.) include it in their output.
    • unnest copies the value into each row. With metric_tag_values: full, unnest!(.tags.region) on a distribution copies every sample into every row.
    Thanks to JinchengCao for contributing PR #27264!

1 security change

  • The kubernetes_logs source now trusts only the configured cluster CA when connecting to the Kubernetes API server with a custom CA. Update the kubeconfig CA bundle if your connection relies on an additional CA from the system trust store.
    Thanks to pront for contributing PR #27363!

4 new features

  • GCP components (gcp_cloud_storage, gcp_pubsub, gcp_stackdriver_logs, gcp_stackdriver_metrics, gcp_chronicle_unstructured) now accept Workload Identity Federation credentials files ("type": "external_account") through credentials_path or the GOOGLE_APPLICATION_CREDENTIALS environment variable. This lets Vector running outside of GCP authenticate with short-lived federated tokens instead of long-lived service account keys.
    Thanks to jpatra72 for contributing PR #27210!
  • The datadog_agent source now accepts indexed (idx) trace payloads from current Datadog Agents and converts them to the same trace events as the legacy format.

    The new advanced max_trace_expansion_bytes option, which defaults to 100 MiB, limits how far the indexed trace payloads in a single request can expand during conversion. It counts both strings copied from a payload’s string table and numbers, booleans, and ids that become longer tag strings or list elements. Requests that would exceed it are rejected with HTTP 422.

    Thanks to bruceg for contributing PR #26910!
  • The prometheus_scrape source has a new targets option that can discover and scrape Kubernetes Pods.

    A kubernetes entry under targets watches Pods through the Kubernetes API and scrapes the ones annotated with prometheus.io/scrape: "true". The prometheus.io/port, prometheus.io/path, prometheus.io/scheme, and prometheus.io/param_<name> annotations control each target, and the annotation prefix is configurable. namespaces and label_selector limit which Pods are considered. A static entry lists fixed URLs:

    type: prometheus_scrape
    targets:
      - static:
          urls:
            - http://localhost:9090/metrics
      - kubernetes:
          role: pod
          namespaces: [default, monitoring]
    

    Metrics from discovered Pods get namespace, pod, node, and container tags. Pod labels and annotations can be added as tags through the pod_label_tags and pod_annotation_tags allowlists, with their keys converted to valid Prometheus label names.

    Current limitations:

    • Only role: pod is supported, and a source can have one kubernetes entry.
    • Pods without the scrape annotation are not scraped.
    • Pending, Succeeded, and Failed Pods, and Pods without an IP address yet, are skipped.
    • Builds without the kubernetes feature reject kubernetes targets.

    A source sets either endpoints or targets. To combine fixed URLs with discovery, list them in a static entry under targets.

    Thanks to leeteng2001, pront, JinchengCao for contributing PR #26013!
  • Sinks now support measure_cpu_usage: true to emit the component_cpu_usage_ns_total counter. It covers the sink task and the tasks it spawns, such as request building and HTTP connections. The kafka sink’s compression and network I/O run on librdkafka threads and are not counted.
    Thanks to gwenaskell for contributing PR #27097!

12 enhancements

  • Update the experimental native_json codec to emit canonical Protobuf JSON using Vector’s stable Protobuf event model. The new representation preserves transportable event metadata and omits deprecated Protobuf fields, while the decoder continues to accept the previous native JSON shape.

    Leap-second timestamps are normalized during Protobuf JSON encoding rather than rejected. For example, 2016-12-31T23:59:60.500Z becomes 2017-01-01T00:00:00.500Z. The event remains encodable, but the original leap-second representation is not preserved when decoded.

    Compatibility between versions before and after this change:

    Producer → consumerBehavior
    Previous native_json → new decoderSupported through the legacy reader.
    New native_json → previous decoderUnsupported; previous versions cannot read the new {"event": ...} envelope.

    For rolling upgrades of native_json pipelines, upgrade consumers before producers, starting at the downstream end. Intermediaries that encode with native_json emit the new format after upgrading, even when reading legacy input. For rollbacks, roll back producers first and drain queued data in the new format before rolling back consumers. Decoding legacy input cannot restore metadata omitted by older producers.

    Use binary native for mixed-version Vector pipelines that need compatibility in both directions. Configure both ends to use native with matching framing, such as length_delimited over TCP.

    Thanks to pront for contributing PR #26281!
  • The trace-level heartbeat message (Beep.) is now emitted at most once per minute instead of engaging the default 10-second internal log rate limiter, which cut its trace-mode log footprint ~4x while keeping the liveness marker visible.
    Thanks to yackushevas for contributing PR #27149!
  • Improve the journald startup error for current_boot_only: false with systemd versions 250 through 257. The error identifies the journalctl executable and explains how to use a compatible version, including in containers, or collect only the current boot instead.
    Thanks to pront for contributing PR #27232!
  • Windows executables now include file and product version information in the Properties dialog’s Details tab.
    Thanks to pront for contributing PR #27280!
  • The loki sink has a new expanded_key_case option. Set it to preserve to keep label and structured metadata keys expanded from * (or a prefix ending with *) in their original case, so keys such as userId and userid no longer collide. The default, lowercase, keeps the current behavior.
    Thanks to patsroka for contributing PR #27164!
  • Add an on_conflict option to the postgres sink. Setting this option to do_nothing appends ON CONFLICT DO NOTHING to the insert, so rows that violate a unique constraint are skipped instead of failing the whole batch. Skipped rows are reported as intentionally discarded events. The default, error, keeps the existing behavior.
    Thanks to vaughnw128 for contributing PR #26628!
  • VRL can now read metric values in the remap transform, filter and route conditions, and unit tests. Example paths include:

    • .counter.value and .gauge.value
    • .set.values
    • .distribution.samples
    • .aggregated_histogram.buckets
    • .aggregated_summary.quantiles
    • .sketch.count, .sketch.min, .sketch.max, .sketch.sum, and .sketch.avg

    The remap transform can also set .counter.value or .gauge.value on a metric of that type, for example, .gauge.value = 100, and replace .distribution.samples with an array of {value, rate} objects, for example, .distribution.samples = [{"value": 2.5, "rate": 1}]. Other metric value fields are read-only.

    Thanks to JinchengCao for contributing PRs #27320, #27319, #27264!
  • Loading and reloading configurations with many or large remap transforms is now significantly faster. Vector no longer compiles every remap program while building the configuration graph just to look up the transform’s output ports, so a reload no longer recompiles every program in the configuration.
    Thanks to ccdd4ever for contributing PR #27200!
  • Vector’s Rustls crypto provider is now selected at build time with the tls-ring and tls-aws-lc Cargo features, so Vector can be built without Ring. Release builds enable tls-ring and keep using Ring. Custom builds that use --no-default-features should add tls-ring to keep the previous provider. If neither feature is enabled, Vector installs no provider, and an application embedding Vector must install one before starting it.
    Thanks to apatruddog for contributing PR #27167!
  • Concurrent transforms now reuse their definitions across batches, avoiding repeated deep copies of large VRL programs and routing rules.
    Thanks to pront, madob3 for contributing PR #27300!
  • The stopped_total internal metric has a new reason tag that indicates whether an error triggered the shutdown. The value is none for a normal shutdown, such as after a shutdown signal or after all sources finish. Otherwise, the value is one of source_aborted, transform_aborted, sink_aborted, api_failed, or reload_failed_to_restore.
    Thanks to gwenaskell for contributing PR #27212!
  • The tls_client_metadata metadata field added by TCP-based sources with client_metadata_key set now includes subject_altnames, containing the Subject Alternative Names (DNS names, email addresses, URIs, and IP addresses) from the client TLS certificate. Each SAN is prefixed with its type (for example DNS:example.com, email:admin@example.com, URI:https://example.com, or IP Address:127.0.0.1) to match the output of openssl x509 -text. This key is only added when the client certificate contains Subject Alternative Names.
    Thanks to emillen for contributing PR #26113!

14 bug fixes

  • Fixed InvalidRequest errors (“You can only specify one non-default checksum at a time”) from the aws_s3 sink against S3-compatible services such as Cloudflare R2. The AWS SDK for Rust now calculates an x-amz-checksum-* request checksum by default, which conflicts with the Content-MD5 header Vector already sends and which some S3-compatible providers reject outright. Request checksum calculation is now restricted to only when required, matching AWS’s own guidance for third-party S3-compatible endpoints.
    Thanks to Socialpranker for contributing PR #25803!
  • The aws_s3 source now respects the AWS_RESPONSE_CHECKSUM_VALIDATION environment variable and response_checksum_validation AWS config setting.
    Thanks to Captain1653 for contributing PR #27208!
  • The nats source no longer reports that it supports end-to-end acknowledgements, which it does not implement. A sink with acknowledgements.enabled: true downstream of it now logs the “Silent data loss could occur” warning at startup, as for other sources without acknowledgement support.
    Thanks to anpawo for contributing PR #27265!
  • Fixed a bug where the syslog source ignored max_length in UDP mode. The source now drops any datagram larger than the configured limit and reports a framing error. To preserve the previous behavior of accepting datagrams up to the transport limit, remove max_length from your UDP syslog configuration.
    Thanks to pront for contributing PR #27362!
  • Reduce temporary allocations when kubernetes_logs merges partial container log lines (CRI P lines), especially when a message spans many lines.
    Thanks to thomasqueirozb for contributing PR #26516!
  • Fixed a bug where global acknowledgement settings overrode sink settings. Sink settings now take priority (documented behavior), allowing acknowledgements to be disabled for individual sinks.
    Thanks to johannesfloriangeiger for contributing PR #26966!
  • HTTP client based components, such as the http and prometheus_remote_write sinks, now limit connection setup (the TCP connect, the TLS handshake and a proxy CONNECT tunnel) to 65 seconds, and outbound HTTP connections now enable TCP keepalive (probes after 60 seconds idle, every 60 seconds, up to 9 probes). Previously, a connection that the connection pool kept setting up in the background could stall in the TLS handshake forever, for example on a lossy network, and the leaked sockets eventually exhausted the process’s file descriptors.
    Thanks to AxisNow-Dev for contributing PR #27247!
  • The gcp_pubsub source now flushes acknowledgements for delivered events before completing a graceful shutdown, preventing unnecessary redelivery when Vector restarts.
    Thanks to pront for contributing PR #27242!
  • Memory buffers configured with max_size now report their limit as buffer_max_size_bytes. Previously the byte limit was reported as buffer_max_size_events, and buffer_max_size_bytes was never emitted for them.
    Thanks to armleth for contributing PR #27282!
  • PartitionedBatcher now checks the timer of each batch every time another batch completes, so a hot key can’t keep the batch of a key with few items from ever expiring.
    Thanks to armleth for contributing PR #27359!
  • Fixed a panic (Replacing unknown sink from fanout) on config reload when a component ID is reused by a different kind of component, or when a failed reload restores a removed component.
    Thanks to armleth for contributing PR #27251!
  • End-to-end acknowledgements now report delivery failure when an event is dropped because routing or encoding failed in Vector’s shared sink paths. For example, if an HTTP sink’s URI contains {{ route }} and an incoming event lacks the route field, an upstream http_server source with acknowledgements enabled returns HTTP 400 Bad Request to the sender. Previously the sender could receive a success response for that dropped event.
    Thanks to pront for contributing PR #27302!
  • When every source had stopped because one of them failed or panicked, Vector could shut down as if all sources had finished normally, losing the source’s error. Vector now always shuts down with the error of the failed source.
    Thanks to gwenaskell for contributing PR #27252!
  • TLS-enabled sources with tls.verify_certificate: true no longer fail the handshake of clients that resume a previous TLS session. Such clients previously had their connection rejected with a session id context uninitialized error.
    Thanks to guilload for contributing PR #27193!

VRL Changelog

0.40.0 (2026-11-30)

Enhancements

    • Avoid temporary object-key allocations when inserting values through existing nested containers.
    Thanks to titaneric for contributing PR #2044!
    • The encode_zstd function now includes the uncompressed size in the Zstandard frame header for inputs smaller than 128 KiB. This changes the compressed bytes and their hashes while remaining compatible with existing Zstandard decoders.
    Thanks to pront for contributing PR #2083!
    • ProgramInfo::target_queries is now more precise for get and unnest. get no longer records a query for the whole event; the paths it reads, such as .tags in get(.tags, path), are recorded from its arguments as for any other query. unnest now records the root of its target, because it copies the rest of the target around each element. Targets that prepare only the queried fields, such as Vector’s metric events, no longer prepare the whole event for get calls, and keep the other fields when using unnest.

      Functions can record additional paths they read with the new FunctionCompileContext::record_target_query. Hosts whose targets prepare only the queried fields should use it in custom functions that read the target directly instead of through their arguments. Previously, the root query from get could hide a missing query in programs that also called get; those functions may now read null until they record the paths they read.

    Thanks to JinchengCao for contributing PR #2075!

Fixes

    • Prevent Value::insert from partially modifying existing data when a path contains an invalid segment. Invalid paths still return None.
    Thanks to titaneric for contributing PR #2080!

Upgrade guide

  • Reading a metric event in VRL now includes its value

    Summary

    VRL now exposes the value of a metric event under a field named after its type, such as .gauge or .distribution. This changes the result of programs that already read these paths or the whole event:

    • .gauge on a gauge metric previously returned null. It now returns an object containing .gauge.value, so exists(.gauge) changes from false to true.
    • Reading the whole event with . includes the value field, so functions such as encode_json(.) and keys(.) include it in their output.
    • unnest copies the value into each row. With metric_tag_values: full, unnest!(.tags.region) on a distribution copies every sample into every row.

    Migration

    If a program only needs the tags, unnest a local copy of them instead of the event:

    Old
    rows = unnest!(.tags.region)
    
    New
    tag_view = {"tags": .tags}
    rows = unnest!(tag_view.tags.region)
    

    To keep the previous output of encode_json(.), copy the event and delete the field for the metric’s type, such as counter, gauge, or distribution. For a gauge:

    Old
    .tags.json = encode_json(.)
    
    New
    event = .
    del(event.gauge)
    .tags.json = encode_json(event)
    

Download Version 0.63.0

macOS
tar.gz
Windows
zip
Windows (MSI)
msi