MongoDB Enterprise audit logging
Audit logging capabilities for IBM Cloud® Databases for MongoDB Enterprise Edition are provided with IBM® Cloud Logs.
Event types
Databases for MongoDB Enterprise Edition provides audit logging capabilities based on the following event types:
authenticate
createCollection
createDatabase
createIndex
renameCollection
dropCollection
dropDatabase
dropIndex
createUser
dropUser
dropAllUsersFromDatabase
updateUser
grantRolesToUser
revokeRolesFromUser
createRole
updateRole
dropRole
dropAllRolesFromDatabase
grantRolesToRole
revokeRolesFromRole
grantPrivilegesToRole
revokePrivilegesFromRole
The event types for Databases for MongoDB Enterprise Edition are fixed and not configurable.
Audit logs
Audit events appear in IBM® Cloud Logs.
For more information on Databases for MongoDB Enterprise Edition audit logging, see the Logging for Cloud Databases and the Getting started with IBM® Cloud Logs tutorial.
Audit events had been appearing in IBM® Log Analysis, which is being deprecated. For older deployments you can still use IBM® Log Analysis until March 2025. You may want to check that and make sure you are migrating to the new logging solution.