diff --git a/envoy/extensions/filters/udp/udp_proxy/v3/BUILD b/envoy/extensions/filters/udp/udp_proxy/v3/BUILD index 1c1a6f6b..25c7a9c3 100644 --- a/envoy/extensions/filters/udp/udp_proxy/v3/BUILD +++ b/envoy/extensions/filters/udp/udp_proxy/v3/BUILD @@ -6,6 +6,7 @@ licenses(["notice"]) # Apache 2 api_proto_package( deps = [ + "//envoy/config/accesslog/v3:pkg", "//envoy/config/core/v3:pkg", "@com_github_cncf_udpa//udpa/annotations:pkg", ], diff --git a/envoy/extensions/filters/udp/udp_proxy/v3/udp_proxy.proto b/envoy/extensions/filters/udp/udp_proxy/v3/udp_proxy.proto index 1be4417e..e2ef68e2 100644 --- a/envoy/extensions/filters/udp/udp_proxy/v3/udp_proxy.proto +++ b/envoy/extensions/filters/udp/udp_proxy/v3/udp_proxy.proto @@ -2,6 +2,7 @@ syntax = "proto3"; package envoy.extensions.filters.udp.udp_proxy.v3; +import "envoy/config/accesslog/v3/accesslog.proto"; import "envoy/config/core/v3/udp_socket_config.proto"; import "google/protobuf/duration.proto"; @@ -21,7 +22,7 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE; // [#extension: envoy.filters.udp_listener.udp_proxy] // Configuration for the UDP proxy filter. -// [#next-free-field: 8] +// [#next-free-field: 9] message UdpProxyConfig { option (udpa.annotations.versioning).previous_message_type = "envoy.config.filter.udp.udp_proxy.v2alpha.UdpProxyConfig"; @@ -88,4 +89,7 @@ message UdpProxyConfig { // The default if not specified is false, that means each data chunk is forwarded // to upstream host selected on first chunk receival for that "session" (identified by source IP/port and local IP/port). bool use_per_packet_load_balancing = 7; + + // Configuration for access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata `. + repeated config.accesslog.v3.AccessLog access_log = 8; }