Stream access logs (#15494)
Signed-off-by: Sotiris Nanopoulos <sonanopo@microsoft.com> Mirrored from https://github.com/envoyproxy/envoy @ 1dc4cd3d684072ba739476032182014fd978679bpull/624/head
parent
65179843af
commit
d16f6dbbb2
10 changed files with 180 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||||
|
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py. |
||||||
|
|
||||||
|
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") |
||||||
|
|
||||||
|
licenses(["notice"]) # Apache 2 |
||||||
|
|
||||||
|
api_proto_package( |
||||||
|
deps = [ |
||||||
|
"//envoy/config/core/v3:pkg", |
||||||
|
"@com_github_cncf_udpa//udpa/annotations:pkg", |
||||||
|
], |
||||||
|
) |
@ -0,0 +1,30 @@ |
|||||||
|
syntax = "proto3"; |
||||||
|
|
||||||
|
package envoy.extensions.access_loggers.stderror.v3; |
||||||
|
|
||||||
|
import "envoy/config/core/v3/substitution_format_string.proto"; |
||||||
|
|
||||||
|
import "google/protobuf/struct.proto"; |
||||||
|
|
||||||
|
import "udpa/annotations/status.proto"; |
||||||
|
import "udpa/annotations/versioning.proto"; |
||||||
|
import "validate/validate.proto"; |
||||||
|
|
||||||
|
option java_package = "io.envoyproxy.envoy.extensions.access_loggers.stderror.v3"; |
||||||
|
option java_outer_classname = "StderrorProto"; |
||||||
|
option java_multiple_files = true; |
||||||
|
option (udpa.annotations.file_status).package_version_status = ACTIVE; |
||||||
|
|
||||||
|
// [#protodoc-title: Standard Error access log] |
||||||
|
// [#extension: envoy.access_loggers.stderror] |
||||||
|
|
||||||
|
// Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.accesslog.v3.AccessLog>` |
||||||
|
// that writes log entries directly to the operating system's standard error. |
||||||
|
message StdErrorAccessLog { |
||||||
|
oneof access_log_format { |
||||||
|
// Configuration to form access log data and format. |
||||||
|
// If not specified, use :ref:`default format <config_access_log_default_format>`. |
||||||
|
config.core.v3.SubstitutionFormatString log_format = 1 |
||||||
|
[(validate.rules).message = {required: true}]; |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,13 @@ |
|||||||
|
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py. |
||||||
|
|
||||||
|
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") |
||||||
|
|
||||||
|
licenses(["notice"]) # Apache 2 |
||||||
|
|
||||||
|
api_proto_package( |
||||||
|
deps = [ |
||||||
|
"//envoy/config/core/v4alpha:pkg", |
||||||
|
"//envoy/extensions/access_loggers/stderror/v3:pkg", |
||||||
|
"@com_github_cncf_udpa//udpa/annotations:pkg", |
||||||
|
], |
||||||
|
) |
@ -0,0 +1,33 @@ |
|||||||
|
syntax = "proto3"; |
||||||
|
|
||||||
|
package envoy.extensions.access_loggers.stderror.v4alpha; |
||||||
|
|
||||||
|
import "envoy/config/core/v4alpha/substitution_format_string.proto"; |
||||||
|
|
||||||
|
import "google/protobuf/struct.proto"; |
||||||
|
|
||||||
|
import "udpa/annotations/status.proto"; |
||||||
|
import "udpa/annotations/versioning.proto"; |
||||||
|
import "validate/validate.proto"; |
||||||
|
|
||||||
|
option java_package = "io.envoyproxy.envoy.extensions.access_loggers.stderror.v4alpha"; |
||||||
|
option java_outer_classname = "StderrorProto"; |
||||||
|
option java_multiple_files = true; |
||||||
|
option (udpa.annotations.file_status).package_version_status = NEXT_MAJOR_VERSION_CANDIDATE; |
||||||
|
|
||||||
|
// [#protodoc-title: Standard Error access log] |
||||||
|
// [#extension: envoy.access_loggers.stderror] |
||||||
|
|
||||||
|
// Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.accesslog.v4alpha.AccessLog>` |
||||||
|
// that writes log entries directly to the operating system's standard error. |
||||||
|
message StdErrorAccessLog { |
||||||
|
option (udpa.annotations.versioning).previous_message_type = |
||||||
|
"envoy.extensions.access_loggers.stderror.v3.StdErrorAccessLog"; |
||||||
|
|
||||||
|
oneof access_log_format { |
||||||
|
// Configuration to form access log data and format. |
||||||
|
// If not specified, use :ref:`default format <config_access_log_default_format>`. |
||||||
|
config.core.v4alpha.SubstitutionFormatString log_format = 1 |
||||||
|
[(validate.rules).message = {required: true}]; |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,12 @@ |
|||||||
|
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py. |
||||||
|
|
||||||
|
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") |
||||||
|
|
||||||
|
licenses(["notice"]) # Apache 2 |
||||||
|
|
||||||
|
api_proto_package( |
||||||
|
deps = [ |
||||||
|
"//envoy/config/core/v3:pkg", |
||||||
|
"@com_github_cncf_udpa//udpa/annotations:pkg", |
||||||
|
], |
||||||
|
) |
@ -0,0 +1,30 @@ |
|||||||
|
syntax = "proto3"; |
||||||
|
|
||||||
|
package envoy.extensions.access_loggers.stdoutput.v3; |
||||||
|
|
||||||
|
import "envoy/config/core/v3/substitution_format_string.proto"; |
||||||
|
|
||||||
|
import "google/protobuf/struct.proto"; |
||||||
|
|
||||||
|
import "udpa/annotations/status.proto"; |
||||||
|
import "udpa/annotations/versioning.proto"; |
||||||
|
import "validate/validate.proto"; |
||||||
|
|
||||||
|
option java_package = "io.envoyproxy.envoy.extensions.access_loggers.stdoutput.v3"; |
||||||
|
option java_outer_classname = "StdoutputProto"; |
||||||
|
option java_multiple_files = true; |
||||||
|
option (udpa.annotations.file_status).package_version_status = ACTIVE; |
||||||
|
|
||||||
|
// [#protodoc-title: Standard Output access log] |
||||||
|
// [#extension: envoy.access_loggers.stdoutput] |
||||||
|
|
||||||
|
// Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.accesslog.v3.AccessLog>` |
||||||
|
// that writes log entries directly to the operating system's standard output. |
||||||
|
message StdoutputAccessLog { |
||||||
|
oneof access_log_format { |
||||||
|
// Configuration to form access log data and format. |
||||||
|
// If not specified, use :ref:`default format <config_access_log_default_format>`. |
||||||
|
config.core.v3.SubstitutionFormatString log_format = 1 |
||||||
|
[(validate.rules).message = {required: true}]; |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,13 @@ |
|||||||
|
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py. |
||||||
|
|
||||||
|
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") |
||||||
|
|
||||||
|
licenses(["notice"]) # Apache 2 |
||||||
|
|
||||||
|
api_proto_package( |
||||||
|
deps = [ |
||||||
|
"//envoy/config/core/v4alpha:pkg", |
||||||
|
"//envoy/extensions/access_loggers/stdoutput/v3:pkg", |
||||||
|
"@com_github_cncf_udpa//udpa/annotations:pkg", |
||||||
|
], |
||||||
|
) |
@ -0,0 +1,33 @@ |
|||||||
|
syntax = "proto3"; |
||||||
|
|
||||||
|
package envoy.extensions.access_loggers.stdoutput.v4alpha; |
||||||
|
|
||||||
|
import "envoy/config/core/v4alpha/substitution_format_string.proto"; |
||||||
|
|
||||||
|
import "google/protobuf/struct.proto"; |
||||||
|
|
||||||
|
import "udpa/annotations/status.proto"; |
||||||
|
import "udpa/annotations/versioning.proto"; |
||||||
|
import "validate/validate.proto"; |
||||||
|
|
||||||
|
option java_package = "io.envoyproxy.envoy.extensions.access_loggers.stdoutput.v4alpha"; |
||||||
|
option java_outer_classname = "StdoutputProto"; |
||||||
|
option java_multiple_files = true; |
||||||
|
option (udpa.annotations.file_status).package_version_status = NEXT_MAJOR_VERSION_CANDIDATE; |
||||||
|
|
||||||
|
// [#protodoc-title: Standard Output access log] |
||||||
|
// [#extension: envoy.access_loggers.stdoutput] |
||||||
|
|
||||||
|
// Custom configuration for an :ref:`AccessLog <envoy_api_msg_config.accesslog.v4alpha.AccessLog>` |
||||||
|
// that writes log entries directly to the operating system's standard output. |
||||||
|
message StdoutputAccessLog { |
||||||
|
option (udpa.annotations.versioning).previous_message_type = |
||||||
|
"envoy.extensions.access_loggers.stdoutput.v3.StdoutputAccessLog"; |
||||||
|
|
||||||
|
oneof access_log_format { |
||||||
|
// Configuration to form access log data and format. |
||||||
|
// If not specified, use :ref:`default format <config_access_log_default_format>`. |
||||||
|
config.core.v4alpha.SubstitutionFormatString log_format = 1 |
||||||
|
[(validate.rules).message = {required: true}]; |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue