All Products
Search
Document Center

CDN:Fields in real-time logs

Last Updated:Dec 22, 2023

This topic describes the fields in real-time logs. After you enable real-time log delivery, you can check the description of each field in real-time log entries. The following table describes the fields.

No.

Field

Description

Indexed by default

1

unixtime

The timestamp of the request.

No

2

domain

The domain name to which the request was sent.

Yes

3

method

The request method.

Yes

4

scheme

The protocol over which the request was sent.

Yes

5

uri

The requested resource.

Yes

6

uri_param

The request parameters.

Yes

7

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.

Note: The format of the X-Forwarded-For request header is X-Forwarded-For: <client_ip>, <proxy_ip>.

Yes

8

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 -.

No

9

remote_ip

The IP address of the client that is connected to the POP.

Yes

10

remote_port

The port number of the client that is connected to the POP.

No

11

refer_protocol

The protocol in the HTTP Referer header.

No

12

refer_domain

The domain name in the HTTP Referer header.

Yes

13

refer_uri

The URI in the HTTP Referer header.

Yes

14

refer_param

The parameters in the HTTP Referer header.

No

15

request_size

The size of the request.

Yes

16

request_time

The response time. Unit: milliseconds.

Yes

17

response_size

The size of the response. Unit: bytes.

Yes

18

return_code

The HTTP status code that is returned.

Yes

19

sent_http_content_range

The value of the Range field in the response header. The Range value is specified by the origin server. Example: 0 to 99/200. Unit: bytes.

No

20

server_addr

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

No

21

server_port

The port number of the POP that responded to the request.

No

22

body_bytes_sent

The size of the request body. Unit: bytes.

No

23

content_type

The type of the requested resource.

Yes

24

hit_info

The cache hit result, excluding requests for live streaming resources or dynamic content. Valid values: HIT and MISS. A value of HIT specifies a cache hit. A value of MISS specifies a cache miss.

Yes

25

http_range

The value of the Range field in the request header. Example: 0 to 100. Unit: bytes.

No

26

user_agent

The information about the proxy of the client.

Yes

27

uuid

The unique ID of the request (traceid).

Yes

28

via_info

The information about the Via header.

No

29

xforwordfor

The value of the X-Forward-For header in the request.

Yes