Queries the audit log types collected for a MongoDB instance.
Operation description
-
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.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeAuditLogFilter |
get |
*dbinstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The ID of the instance. |
dds-bp12c5b040dc**** |
| RoleType |
string |
No |
The role of the node in the instance. Valid values:
|
logic |
Response elements
|
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 |
Examples
Success response
JSON format
{
"RequestId": "7BAFB0B3-2A54-5B65-B13E-3937CF08FEE6",
"Filter": "admin,slow,insert,query,update,delete,command",
"RoleType": "logic"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.