tencent cloud

Feedback

Downloading Logs

Last updated: 2023-08-14 17:51:15
    
    You can download a CDN access log for the last 30 days, which contains the details of every request made to VOD. Logs are recorded hourly.

    Downloading Logs

    1. Log in to the VOD console and click Download Log > CDN Log on the left sidebar.
    2. Select a time range and domain name to get the download link.
    
    
    Note
    If a domain receives no requests in a day, no logs will be generated, and no data will be displayed.
    By default, CDN access is logged on an hourly basis. That means 24 log files will be generated at most for a day. No log file will be generated for an hour during which there are no requests.
    CDN logs may have a delay of about 30 minutes.

    Log Fields

    Decompress the package downloaded and open the log files with Notepad. Different fields are separated by space. Below is part of a log file.
    
    
    Sequence
    Field Meaning
    1
    Request time
    2
    IP address of the client accessing the domain
    3
    Accessed domain name
    4
    File request path
    5
    Number of bytes of this access request
    6
    Province. For more information, see province mapping below.
    7
    ISP. For more information, see ISP mapping below.
    8
    HTTP status code
    9
    Referer information
    10
    Response time in milliseconds
    11
    User-Agent information
    12
    Range parameter
    13
    HTTP method
    14
    Protocol identifier
    15
    Cache hit/miss
    16
    The port via which connection is established between the client and CDN node. If there isn’t such a port, the value of this field is -.

    Region/ISP mappings

    Chinese mainland provinces

    Region ID
    Region
    Region ID
    Region
    Region ID
    Region
    22
    Beijing
    86
    Inner Mongolia
    146
    Shanxi
    1069
    Hebei
    1177
    Tianjin
    119
    Ningxia
    152
    Shaanxi
    1208
    Gansu
    1467
    Qinghai
    1468
    Xinjiang
    145
    Heilongjiang
    1445
    Jilin
    1464
    Liaoning
    2
    Fujian
    120
    Jiangsu
    121
    Anhui
    122
    Shandong
    1050
    Shanghai
    1442
    Zhejiang
    182
    Henan
    1135
    Hubei
    1465
    Jiangxi
    1466
    Hunan
    118
    Guizhou
    153
    Yunnan
    1051
    Chongqing
    1068
    Sichuan
    1155
    Tibet
    4
    Guangdong
    173
    Guangxi
    1441
    Hainan
    0
    Other
    1
    Hong Kong (China), Macao (China), and Taiwan (China)
    -1
    Outside the Chinese mainland
    
    
    
    

    Chinese mainland ISPs

    ISP ID
    ISP
    ISP ID
    ISP
    ISP ID
    ISP
    2
    China Telecom
    26
    China Unicom
    38
    CERNET

    Regions outside the Chinese mainland

    Region ID
    Region
    Region ID
    Region
    Region ID
    Region
    2000000001
    Asia Pacific Zone 1 (service area)
    765
    Slovakia
    1613
    Angola
    2000000002
    Asia Pacific Zone 2 (service area)
    766
    Serbia
    1617
    Ivory Coast
    2000000003
    Asia Pacific Zone 3 (service area)
    770
    Finland
    1620
    Sudan
    2000000004
    Middle East (service area)
    773
    Belgium
    1681
    Mauritius
    2000000005
    North America (service area)
    809
    Bulgaria
    1693
    Morocco
    2000000006
    Europe (service area)
    811
    Slovenia
    1695
    Algeria
    2000000007
    South America (service area)
    812
    Moldova
    1698
    Guinea
    2000000008
    Africa (service area)
    813
    Macedonia
    1730
    Senegal
    -20
    Asia (client area)
    824
    Estonia
    1864
    Tunisia
    -21
    South America (client area)
    835
    Croatia
    1909
    Uruguay
    -22
    North America (client area)
    837
    Poland
    1916
    Greenland
    -23
    Europe (client area)
    852
    Latvia
    2026
    Taiwan (China)
    -24
    Africa (client area)
    857
    Jordan
    2083
    Myanmar
    -25
    Oceania (client area)
    884
    Kyrgyzstan
    2087
    Brunei
    35
    Nepal
    896
    Ireland
    2094
    Sri Lanka
    57
    Thailand
    901
    Libya
    2150
    Panama
    73
    India
    904
    Armenia
    2175
    Colombia
    144
    Vietnam
    921
    Yemen
    2273
    Monaco
    192
    France
    926
    Belarus
    2343
    Andorra
    207
    United Kingdom
    971
    Luxembourg
    2421
    Turkmenistan
    208
    Sweden
    1036
    New Zealand
    2435
    Laos
    209
    Germany
    1044
    Japan
    2488
    East Timor
    213
    Italy
    1066
    Pakistan
    2490
    Tonga
    214
    Spain
    1070
    Malta
    2588
    Philippines
    386
    United Arab Emirates
    1091
    Bahamas
    2609
    Venezuela
    391
    Israel
    1129
    Argentina
    2612
    Bolivia
    397
    Ukraine
    1134
    Bangladesh
    2613
    Brazil
    -
    -
    1158
    Cambodia
    2623
    Costa Rica
    417
    Kazakhstan
    1159
    Macao (China)
    2626
    Mexico
    428
    Portugal
    1176
    Singapore
    2639
    Honduras
    443
    Greece
    1179
    Maldives
    2645
    El Salvador
    471
    Saudi Arabia
    1180
    Afghanistan
    2647
    Paraguay
    529
    Denmark
    1185
    Fiji
    2661
    Peru
    565
    Iran
    1186
    Mongolia
    2728
    Nicaragua
    578
    Norway
    1195
    Indonesia
    2734
    Ecuador
    669
    United States
    1200
    Hong Kong (China)
    2768
    Guatemala
    692
    Syria
    1233
    Qatar
    2999
    Aruba
    704
    Cyprus
    1255
    Iceland
    3058
    Ethiopia
    706
    Czech
    1289
    Albania
    3144
    Bosnia and Herzegovina
    707
    Switzerland
    1353
    Uzbekistan
    3216
    Dominican
    708
    Iraq
    1407
    San Marino
    3379
    South Korea
    714
    Netherlands
    1416
    Kuwait
    3701
    Malaysia
    717
    Romania
    1417
    Montenegro
    3839
    Canada
    721
    Lebanon
    1493
    Tajikistan
    4450
    Australia
    725
    Hungary
    1501
    Bahrain
    4460
    Chinese mainland
    726
    Georgia
    1543
    Chile
    -15
    Asia - other
    731
    Azerbaijan
    1559
    South Africa
    -14
    South America - other
    734
    Austria
    1567
    Egypt
    -13
    North America - other
    736
    Palestine
    1590
    Kenya
    -12
    Europe - other
    737
    Türkiye
    1592
    Nigeria
    -11
    Africa - other
    759
    Lithuania
    1598
    Tanzania
    -10
    Oceania - other
    763
    Oman
    1611
    Madagascar
    -2
    Outside the Chinese mainland - other

    ISPs outside the Chinese mainland

    ISP ID
    ISP
    -1
    ISPs outside the Chinese mainland
    Note
    Bandwidth or traffic consumption in logs is based on data returned at the application layer (HTTP protocol) and may be lower than that calculated at the TCP layer due to factors including TCP packet loss, three-way handshake, and retransmission.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support