Learn the "why" behind slow queries and how to fix them in our 2-Part Webinar.
Register now >
Docs Menu
Docs Home
/ /

System Events Auditing Commands

Note

For details on a specific command, including syntax and examples, click on the link to the command's reference page.

Name
Description

getAuditConfig

Deprecated in version 7.1: Use the auditConfig cluster parameter instead.

Retrieves audit configurations from mongod and mongos instances.

Posts a custom message to the audit log.

Deprecated in version 7.1: Use the auditConfig cluster parameter instead.

Sets audit configurations for mongod and mongos instances at runtime.

Back

whatsmyuri