Offline Log

2024-04-28 07:19:48

Feature Overview

The log download module allows you to download access logs of your accelerated domain name in batches. Logs record the details of requests for accessing your accelerated domain name and can be used as key references in business analysis.

Log ingestion latency: In most cases, the log ingestion latency is within 24 hours. In special conditions, the latency may exceed 24 hours. The logging system generates logs once every hour. The number of log files to which logs are split is determined by the number of logs generated within the hour. You can download the log data generated in the previous 15 days.

EdgeTrans

• Log file naming rule: log_Accelerated domain_YYYYMMDDHH_Start time_End time. Example: log_www.ctyun.cn_2020010101_0000-5959.gz.

• Sample log: 36.111.88.33 www.test.ctyun.cn - [20200101013524] "GET http://www.ctyun.cn/live/test.flv http/1.1" 200 1360598 - "VLC/2.0.6 LibVLC/2.0.6" 0.003 HIT 565 bytes 0-1562467/1562468.

• The log field descriptions are as follows: 

No.

Field

Description

1

36.111.88.33

The client IP address.

2

www.test.ctyun.cn

The domain name accessed.

3

-

The file type.

4

[20200101013524]

The time point when the request was received.

5

GET

The HTTP request method.

6

http://www.test.ctyun.cn/live/test.flv

The requested URL.

7

http/1.1

The protocol.

8

200

The HTTP status code returned by the CDN points of presence (POP).

9

1360598

The size of the response returned by the CDN POP. The unit is byte.

10

-

The Referer request header.

11

"VLC/2.0.6 LibVLC/2.0.6"

The User-Agent request header.

12

0.003

The response time, indicating the period of time from the time point when the server received the request to the time point when the server returned the response. The unit is second.

13

HIT

The cache hit status. The value is HIT or MISS.

14

565

The length of the request, including the request headers and request body. The unit is byte.

15

bytes 0-1562467/1562468

The Content-Range response header returned by the CDN POP.

EdgeWan

• Log naming rule: accelerated domain name Year Month Day Hour Minute Internal Subcontracting Logic Name; for example, ctyun.cn.2023_11_09_14_00_part80001.gz.

• Sample log: 70.114.173.59 www.ctyun.cn [10/Nov/2023:06:04:04 +0800] 6dd03e10adaf021c77c3a1bd5e558c10 TCP 60.29.184.11 10880 0.072 39 79 5742 806 SESSION_OK 1.

• The log field descriptions are as follows: 

No.

Field

Field Parameter

Description

1

70.114.173.59

real_client_ip

Real client IP

2

oa.ctyun.cn

server_name

Domain Name for Billing

3

[10/Nov/2023:06:04:04 +0800]

time_local

Log Record Time

4

6dd03e10adaf021c77c3a1bd5e558c10

session_id

Session ID

5

TCP

protocol

Protocol

6

60.29.184.11

origin_ip

Origin server IP

7

10880

origin_port

Origin Port

8

0.072

session_time

Duration of Session

9

39

upstream_connect_time

Used in combination with next hop

10

79

upstream_first_byte_time

Time to first packet

11

5742

bytes_recieved

The number of bytes of valid data sent by the client

12

806

bytes_sent

The number of bytes of valid data sent by the server

13

SESSION_OK

finalize_error_code

Session Status Code

14

1

first_tag

Segmented Log Identification
First output: 1
Intermediate output: 0
Final output: 2

• The log field descriptions are as follows:

Steps for Logs Downloading

EdgeTrans Log Downloading

Log in to AccessOne.

Select Log and Data Analysis > Off-line Log Download > Domain Name Off-line Log from the left navigation bar.

Filtered product services: EdgeTrans. After filtering the corresponding domain name and time, click to download the logs for the corresponding domain name.

 

EdgeWan Log Downloading

Log in to AccessOne.

Select Log and Data Analysis > Off-line Log Download > Domain Name Off-line Log from the left navigation bar.

Filtered product services: EdgeWan - P Application Acceleration. After filtering the corresponding domain name and time, click to download the logs for the corresponding domain name. It supports log downloads for recent 15 days at most, as well as single log and batch downloads.

• Single log download: Select the File Download button after a single domain name to download a single log file.

• Batch Download: Select multiple domain names in the first column and click Batch Download to perform batch log downloads.

 


PrT9KdO.TyPK