diff --git a/envoy/config/accesslog/v2/file.proto b/envoy/config/accesslog/v2/file.proto index d1ca2d1e..a53c5aab 100644 --- a/envoy/config/accesslog/v2/file.proto +++ b/envoy/config/accesslog/v2/file.proto @@ -4,6 +4,7 @@ package envoy.config.accesslog.v2; option go_package = "v2"; import "validate/validate.proto"; +import "google/protobuf/struct.proto"; // [#protodoc-title: File access log] @@ -17,5 +18,11 @@ message FileAccessLog { // Access log format. Envoy supports :ref:`custom access log formats // ` as well as a :ref:`default format // `. - string format = 2; + oneof access_log_format { + // Access log :ref:`format string` + string format = 2; + + // Access log :ref:`format dictionary` + google.protobuf.Struct json_format = 3; + } }