gRPC Access Log Service (ALS)¶
config.accesslog.v2.HttpGrpcAccessLogConfig¶
[config.accesslog.v2.HttpGrpcAccessLogConfig proto]
Configuration for the built-in envoy.http_grpc_access_log AccessLog. This configuration will populate StreamAccessLogsMessage.http_logs.
{
"common_config": "{...}",
"additional_request_headers_to_log": [],
"additional_response_headers_to_log": [],
"additional_response_trailers_to_log": []
}
- common_config
- (config.accesslog.v2.CommonGrpcAccessLogConfig, REQUIRED)
- additional_request_headers_to_log
- (string) Additional request headers to log in HTTPRequestProperties.request_headers.
- additional_response_headers_to_log
- (string) Additional response headers to log in HTTPResponseProperties.response_headers.
- additional_response_trailers_to_log
- (string) Additional response trailers to log in HTTPResponseProperties.response_trailers.
config.accesslog.v2.CommonGrpcAccessLogConfig¶
[config.accesslog.v2.CommonGrpcAccessLogConfig proto]
Common configuration for gRPC access logs.
{
"log_name": "...",
"grpc_service": "{...}"
}
- log_name
- (string, REQUIRED) The friendly name of the access log to be returned in StreamAccessLogsMessage.Identifier. This allows the access log server to differentiate between different access logs coming from the same Envoy.
- grpc_service
- (core.GrpcService, REQUIRED) The gRPC service for the access log service.