All Products
Search
Document Center

Simple Log Service:Log fields

Last Updated:Apr 24, 2024

This topic describes the fields of Dynamic Content Delivery Network (DCDN) real-time logs.

Access logs

When you enable the access log delivery feature, DCDN starts to generate access logs. The following table describes the fields available in access log entries.

Field

Description

Indexed by Log Service

Used for built-in visualized analysis

unixtime

The timestamp of the request.

Yes

Yes

domain

The domain name to which the request was sent.

Yes

Yes

method

The request method.

Yes

Yes

scheme

The protocol over which the request was sent.

Yes

No

uri

The resource that was requested.

Yes

Yes

uri_param

The request body parameters.

Yes

No

client_ip

The real IP address of the client that made the request. The first IP address in the X-Forwarded-For request header that is carried in the request, which is client_ip. If the client does not use a proxy to connect to the point of presence (POP), the IP address is used by the client to connect to the POP.

Yes

Yes

proxy_ip

The IP address of the proxy. The second IP address in the X-Forwarded-For request header that is carried in the request, which is proxy_ip. If the client does not use a proxy to connect to the POP, the value of this field is -.

Yes

No

remote_ip

The public IP address of the client that is connected to the DCDN point of presence (POP).

Yes

No

remote_port

The port to which a POP sends requests over the Internet.

Yes

No

refer_protocol

The protocol in the HTTP Referer header.

Yes

No

refer_domain

The domain name in the HTTP Referer header.

Yes

Yes

refer_uri

The URI in the HTTP Referer header.

Yes

No

refer_param

The parameters in the HTTP Referer header.

Yes

No

request_size

The size of a request that includes the request body and the request header. Unit: bytes.

Yes

No

request_time

The response time. Unit: milliseconds.

Yes

Yes

response_size

The size of a response. Unit: bytes.

Yes

No

return_code

The HTTP status code that was returned.

Yes

Yes

sent_http_content_range

The value of the Range header in the response, which is configured on the origin server. Example: bytes=0-99/200.

Yes

No

server_addr

The IP address of the POP that responded to the request.

Yes

No

server_port

The port on the POP that responded to a request.

Yes

No

body_bytes_sent

The size of the request body. Unit: bytes.

Yes

No

content_type

The type of the requested resource.

Yes

No

hit_info

The cache hit result. The cache hit results of requests for live streaming resources or dynamic content are not included. Valid values:

  • HIT: a cache hit.

  • MISS: a cache miss.

Yes

Yes

http_range

The value of the Range header in the request. Example: bytes=0-100.

Yes

No

user_agent

The information about the proxy of the client.

Yes

Yes

user_info

The information about the user.

Yes

No

uuid

The ID of the request.

Yes

No

via_info

The HTTP Via header.

Yes

No

xforwordfor

The X-Forwarded-For header in the request.

Yes

No