Mengambil URL unduhan log akses CDN mentah untuk nama domain tertentu.
Deskripsi operasi
Saat ini, satu-satunya wilayah layanan yang didukung adalah China (Shanghai).
Untuk detail tentang format log dan latensi, lihat Manajemen Log.
Jika Anda tidak menentukan StartTime dan EndTime, data log dari 24 jam terakhir akan dikembalikan secara default.
StartTime dan EndTime harus ditentukan bersama untuk mengkueri log dalam rentang waktu tertentu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DescribeVodDomainLog |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
Nama domain yang dipercepat untuk ApsaraVideo VOD. Catatan
Hanya satu nama domain yang didukung. |
example.com. |
| PageSize |
integer |
No |
Jumlah entri per halaman.
|
300 |
| PageNumber |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| StartTime |
string |
No |
Awal rentang waktu untuk dikueri. Tentukan waktu dalam format |
2016-10-20T04:00:00Z |
| EndTime |
string |
No |
Akhir rentang waktu untuk dikueri. Waktu akhir harus lebih lambat daripada Waktu mulai. Interval antara Waktu mulai dan waktu akhir tidak boleh melebihi satu tahun. Tentukan waktu dalam format |
2016-10-20T05:00:00Z |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter tanggapan. |
||
| RequestId |
string |
ID permintaan. |
077D0284-F041-4A41-4D3C-B48377FD**** |
| DomainLogDetails |
object |
||
| DomainLogDetail |
array<object> |
Data log CDN terperinci. |
|
|
array<object> |
Detail log CDN. |
||
| LogCount |
integer |
The total number of entries returned on the current page. |
2 |
| DomainName |
string |
The domain name. |
example.com |
| LogInfos |
object |
||
| LogInfoDetail |
array<object> |
The queried CDN logs. |
|
|
object |
The detailed information about Alibaba Cloud CDN logs. |
||
| EndTime |
string |
The end of the time range during which data was queried. The time follows the ISO 8601 standard in the |
2018-05-31T05:00:00Z |
| LogSize |
integer |
The size of the log file. |
2645401 |
| StartTime |
string |
The beginning of the time range during which data was queried. The time follows the ISO 8601 standard in the |
2018-05-31T04:00:00Z |
| LogName |
string |
The name of the log file. |
example.com_2018_03_25_180000_19****.gz |
| LogPath |
string |
The path of the log file. |
example.com/2018_03_25/example.com_2018_03_25_180000_19****.gz?Expires=1522659931&OSSAccessKeyId=****&Signature=**** |
| PageInfos |
object |
The pagination information. |
|
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
300 |
| Total |
integer |
The total number of entries returned. |
2 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "077D0284-F041-4A41-4D3C-B48377FD****",
"DomainLogDetails": {
"DomainLogDetail": [
{
"LogCount": 2,
"DomainName": "example.com",
"LogInfos": {
"LogInfoDetail": [
{
"EndTime": "2018-05-31T05:00:00Z",
"LogSize": 2645401,
"StartTime": "2018-05-31T04:00:00Z",
"LogName": "example.com_2018_03_25_180000_19****.gz",
"LogPath": "example.com/2018_03_25/example.com_2018_03_25_180000_19****.gz?Expires=1522659931&OSSAccessKeyId=****&Signature=****"
}
]
},
"PageInfos": {
"PageNumber": 1,
"PageSize": 300,
"Total": 2
}
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidStartTime.Malformed | Specified StartTime is malformed. | |
| 400 | InvalidEndTime.Malformed | Specified EndTime is malformed. | |
| 400 | InvalidStartTime.ValueNotSupported | The specified value of parameter StartTime is not supported. | |
| 400 | InvalidTime.ValueNotSupported | StartTime or EndTime is miss match. | |
| 400 | InvalidParameter | The specified parameter \ is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.