Mengkueri tipe Log audit yang dikumpulkan untuk Instans MongoDB.
Deskripsi operasi
-
The instance must be in the running state when you call this operation.
-
This operation is applicable only to general-purpose local-disk and dedicated local-disk instances.
-
You can call this operation up to 30 times per minute. To call this operation at a higher frequency, use a Logstore. For more information, see Manage a Logstore.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeAuditLogFilter |
get |
*dbinstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
ID Instans. |
dds-bp12c5b040dc**** |
| RoleType |
string |
No |
Peran node dalam Instans. Nilai valid:
|
logic |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
7BAFB0B3-2A54-5B65-B13E-3937CF08FEE6 |
| Filter |
string |
The type of the audit log entries. Valid values:
|
admin,slow,insert,query,update,delete,command |
| RoleType |
string |
The role of the node. |
logic |
Contoh
Respons sukses
JSONformat
{
"RequestId": "7BAFB0B3-2A54-5B65-B13E-3937CF08FEE6",
"Filter": "admin,slow,insert,query,update,delete,command",
"RoleType": "logic"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.