Database Manual / Security / Auditing

System Event Audit Messages

Note

System Event Audit Messages are available in MongoDB Enterprise and MongoDB Atlas.

To learn more about this feature in MongoDB Atlas, see the Atlas documentation for Set Up Database Auditing and View and Download MongoDB Logs.

When the MongoDB auditing facility captures events, you can specify the schema that MongoDB uses for log message output:

To set the schema used for log messages, use the auditLog.schema configuration file option.

For examples and details on the messages returned in each schema, see these pages: