This topic describes the fields in the Layer 7 access logs of Classic Load Balancer (CLB).
Field | Description |
__topic__ | The topic of a log. Valid value: slb_layer7_access_log. |
body_bytes_sent | The size of an HTTP message body that is sent to a client. Unit: bytes. |
client_ip | The IP address of a client. |
host | The IP address of a server. The value is first obtained from the request parameters. If the value still cannot be obtained, the IP address of the backend server that processes the request is obtained as the field value. |
http_host | The host header field of a request. |
http_referer | The Referer HTTP header in a request message that is received by the proxy. |
http_user_agent | The User-Agent HTTP header in a request message that is received by the proxy. |
http_x_forwarded_for | The X-Forwarded-For (XFF) HTTP header in a request message that is received by the proxy. |
http_x_real_ip | The real IP address of a client. |
read_request_time | The duration in which the proxy reads a request message. Unit: milliseconds. |
request_length | The length of a request message. This field includes the start-line, HTTP headers, and HTTP body. |
request_method | The request method. |
request_time | The interval between the time when the proxy receives the first request and the time when the proxy returns a response. Unit: seconds. |
request_uri | The URI of a request that is received by the proxy. |
scheme | The protocol of an HTTP request. Valid values: HTTP and HTTPS. |
server_protocol | The HTTP version of a request that is received by the proxy. Example: HTTP/1.0 or HTTP/1.1. |
slb_vport | The listening port of a CLB instance. |
slbid | The ID of a CLB instance. |
ssl_cipher | The cipher suite that is used to establish an SSL connection. |
ssl_protocol | The protocol that is used to establish an SSL connection. Example: TLSv1.2. |
status | The HTTP status code that is sent by the proxy. |
tcpinfo_rtt | The round-trip time (RTT) of a client TCP connection. Unit: microseconds. |
time | The time when the log is generated. |
upstream_addr | The IP address and port number of the backend server. |
upstream_response_time | The amount of time from when CLB establishes a connection to the backend server to when the connection is closed. Unit: seconds. |
upstream_status | The HTTP status code that is received by the proxy from the backend server. |
vip_addr | The virtual IP address (VIP). |
write_response_time | The time that is taken by the CLB proxy to send the request to the client after the CLB proxy receives the request from the backend server. Unit: milliseconds. |