Key-value Index | Field Type | Delimiter |
server_addr | text | Not required |
server_name | text | Not required |
http_host | text | Not required |
status | long | - |
vip_vpcid | long | - |
[$stgw_request_id] [$time_local] [$protocol_type] [$server_addr:$server_port] [$server_name] [$remote_addr:$remote_port] [$status] [$upstream_addr] [$upstream_status] [$proxy_host] [$request] [$request_length] [$bytes_sent] [$http_host] [$http_user_agent] [$http_referer] [$request_time] [$upstream_response_time] [$upstream_connect_time] [$upstream_header_time] [$tcpinfo_rtt] [$connection] [$connection_requests] [$ssl_handshake_time] [$ssl_cipher] [$ssl_protocol] [$vip_vpcid] [$uri] [$server_protocol]
Name | Description |
text | Text type. |
long | Integer type (Int 64). |
double | Floating point type (64 bit). |
Variable Name | Description | Field Type |
stgw_request_id | Request ID. | text |
time_local | Access time and time zone. Example: 01/Jul/2019:11:11:00 +0800 , where +0800 represents UTC+8. | text |
protocol_type | Protocol type. Supported protocols: HTTP, HTTPS, SPDY, HTTP2, WS, and WSS. | text |
server_addr | VIP of the CLB instance. | text |
server_port | CLB VPort, that is, the listening port. | long |
server_name | server_name value of a rule, that is, the domain name configured in a CLB listener. | text |
remote_addr | Client IP address. | text |
remote_port | Client port. | long |
status | Status code returned by the CLB instance to the client. | long |
upstream_addr | Address of the real server (RS). | text |
upstream_status | Status code returned by the RS to the CLB instance. | text |
proxy_host | Stream ID. | text |
request | Request line. | text |
request_length | Number of bytes of the request received from the client. | long |
bytes_sent | Number of bytes sent to the client. | long |
http_host | Request domain name, which is the value of the Host field in the HTTP header. | text |
http_user_agent | user_agent field in the HTTP header. | text |
http_referer | Source of the HTTP request. | text |
http_x_forward_for | Content of x-forward-for header in the HTTP request. | text |
request_time | Request processing time, which is duration from when the first byte is received from the client to when the last byte is sent to the client, that is, the total time consumed by the whole process in which the client request reaches the CLB instance, the CLB instance forwards the request to an RS, the RS responds and sends data to the CLB instance, and finally the CLB instance forwards the data to the client. Unit: seconds. | double |
upstream_response_time | The time that an entire backend request process takes, starting from when the CLB instance connects with an RS to when the RS receives the request and responds. Unit: seconds. | double |
upstream_connect_time | The time taken to establish a TCP connection with an RS, starting from when the CLB instance connects with the RS to when the CLB instance sends an HTTP request. | double |
upstream_header_time | The time taken to receive an HTTP header from the RS, starting from when the CLB instance connects with the RS to when the HTTP response header is received from the RS. | double |
tcpinfo_rtt | The round-trip time (RTT) of the TCP connection. | long |
connection | Connection ID. | long |
connection_requests | Number of requests in the connection | long |
ssl_handshake_time | Time in microseconds taken by SSL handshake phases, in the format of x:x:x:x:x:x:x , with the time strings of different phases separated by colons (:). If the time of a phase is less than 1 ms, 0 is displayed.The first field indicates whether the SSL session is reused. The second field indicates the time taken by the entire handshake process. The third to seventh fields indicate the time taken by each SSL handshake phase. The third field indicates the time from when the CLB instance receives client hello to when the CLB instance sends server hello done .The fourth field indicates the time from when the CLB instance starts sending the server certificate to when the CLB instance finishes sending the server certificate. The fifth field indicates the time from when the CLB instance calculates the signature to when the CLB instance finishes sending server key exchange .The sixth field indicates the time from when the CLB instance starts receiving client key exchange to when the CLB instance finishes receiving client key exchange .The seventh field indicates the time from when the CLB instance receives client key exchange to when the CLB instance sends server finished . | text |
ssl_cipher | SSL cipher suite. | text |
ssl_protocol | SSL protocol version. | text |
vip_vpcid | ID of the VPC instance to which the CLB instance belongs. The vip_vpcid value of a public network CLB instance is -1 . | long |
request_method | Request method. Only POST and GET requests are supported. | text |
uri | Uniform resource identifier. | text |
server_protocol | Protocol used for CLB. | text |
Index Field | Description | Field Type |
time_local | Access time and time zone. Example: 01/Jul/2019:11:11:00 +0800 , where +0800 represents UTC+8. | text |
protocol_type | Protocol type. Supported protocols: HTTP, HTTPS, SPDY, HTTP2, WS, and WSS. | text |
server_addr | VIP of the CLB instance. | text |
server_name | server_name value of a rule, that is, the domain name configured in a CLB listener. | text |
remote_addr | Client IP address. | text |
status | Status code returned by the CLB instance to the client. | long |
upstream_addr | Address of the RS. | text |
upstream_status | Status code returned by the RS to the CLB instance. | text |
request_length | Number of bytes of the request received from the client. | long |
bytes_sent | Number of bytes sent to the client. | long |
http_host | Request domain name, which is the value of the Host field in the HTTP header. | text |
request_time | Request processing time, which is duration from when the first byte is received from the client to when the last byte is sent to the client, that is, the total time consumed by the whole process in which the client request reaches the CLB instance, the CLB instance forwards the request to an RS, the RS responds and sends data to the CLB instance, and finally the CLB instance forwards the data to the client.Unit: seconds. | double |
upstream_response_time | The time that an entire backend request process takes, starting from when the CLB instance connects with an RS to when the RS receives the request and responds.Unit: seconds. | double |
Was this page helpful?