All Products
Search
Document Center

Simple Log Service:Log fields

Last Updated:Apr 29, 2024

This topic describes the fields in the Layer 7 access logs of Classic Load Balancer (CLB).

Field

Description

body_bytes_sent

The size of the HTTP response body. Unit: bytes.

client_ip

The client IP address.

client_port

The port number of the client that sends the request.

host

By default, the value is retrieved from the request parameters. If the host is not specified in the request parameters, the system retrieves the value from the Host header. If this value cannot be retrieved from the request parameters or the Host header, the IP address of the backend server is used.

http_host

The Host header of the HTTP request.

http_referer

The Referer header of the HTTP request received by CLB.

http_user_agent

The Http_User_Agent header of the HTTP request.

http_x_forwarded_for

The X-Forwarded-For header of the HTTP request.

http_x_real_ip

The real client IP address.

read_request_time

The amount of time that CLB takes to process the request. Unit: milliseconds.

request_length

The length of the request, including the start line, request headers, and the request body.

request_method

The request method.

request_time

The time duration between when CLB receives the first request and when CLB returns the response. Unit: seconds.

request_uri

The URI of the request received by CLB.

scheme

The scheme of the request. Valid values: HTTP and HTTPS.

server_protocol

The version of the HTTP protocol that is received by CLB. For example, HTTP/1.0 or HTTP/1.1.

slb_vport

The listener port of the ALB instance.

slbid

The ID of the ALB instance.

ssl_cipher

The cipher suite used to establish an SSL connection. Example: ECDHE-RSA-AES128-GCM-SHA256.

ssl_protocol

The protocol that is used to establish an SSL connection, for example, TLS 1.2.

status

The status of the response returned by CLB.

tcpinfo_rtt

The amount of time that is taken to establish a TCP connection. Unit: milliseconds.

time

The time when the log entry was generated.

upstream_addr

The IP address and port of the backend server.

upstream_response_time

The amount of time from when a connection is established to when the connection is closed. Unit: seconds.

upstream_status

The HTTP status code sent from a backend server to CLB.

vip_addr

The virtual IP address.

write_response_time

The amount of time that is taken to respond to the write request. Unit: milliseconds.