Mengkueri jumlah log harian dalam rentang waktu tertentu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
actiontrail:DescribeUserLogCount |
none |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| StartDate |
string |
No |
Waktu mulai. Format: yyyy-MM-dd. |
2025-05-12 |
| EndDate |
string |
No |
Waktu akhir. Format: yyyy-MM-dd. |
2025-06-10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
object |
Data yang dikembalikan. |
|
| Counts |
array |
Statistik yang dikembalikan. |
|
|
integer |
Jumlah total log. |
103493 |
|
| Dates |
array |
Tanggal log. |
|
|
string |
Tanggal. |
2025-05-10 |
|
| RequestId |
string |
ID permintaan. |
90D6CC31-947F-5D8A-BEDC-F312EE9B31EA |
Contoh
Respons sukses
JSONformat
{
"Data": {
"Counts": [
103493
],
"Dates": [
"2025-05-10"
]
},
"RequestId": "90D6CC31-947F-5D8A-BEDC-F312EE9B31EA"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncompleteSignature | The request signature does not conform to Alibaba Cloud standards. | The request signature does not conform to Alibaba Cloud standards. |
| 400 | InvalidParameterCombination | The end time must be later than the start time. | The end time must be greater than the start time. |
| 400 | InvalidQueryParameter | The specified query parameter is invalid. | The specified query parameter is not valid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.