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

New Encoding Options

Vector now lets you whitelist, blacklist, and format fields when events are encoded

by

Vector has deprecated the root-level encoding option in favor of new encoding.* sub-options:

  • encoding.only_fields - Encode only the fields listed.
  • encoding.except_fields - Encode all fields except the ones listed.
  • encoding.codec - The codec to use (ex: json).
  • encoding.timestamp_format - Customize how timestamps are serialized.

Upgrade Guide

Upgrading is easy:

 sinks:
   my-sink:
     type: "..."
-    encoding: "json"
+    encoding:
+      codec: "json"
+      except_fields: ["_meta"] # optional
+      timestamp_format: "rfc3339" # optional