Posted On: Aug 8, 2022
Amazon DocumentDB (with MongoDB compatibility) is a database service that is purpose-built for JSON data management at scale, fully managed and integrated with AWS, and enterprise-ready with high durability.
Today, Amazon DocumentDB added additional query auditing support for database events. Now, with auditing enabled, in addition to Data Definition Language (DDL) events, DocumentDB will record Data Manipulation Language (DML) events to Amazon CloudWatch Logs. This includes events corresponding to insert(), insertMany(), update(), updateMany(), delete(), deleteMany(), bulkWrite(), find(), count(), distinct(), replaceOne(), aggregates and more. You can use Amazon CloudWatch Logs to analyze, monitor, and archive your DocumentDB DML query events.
For more information on how to get started with DML Auditing see our documentation. DML query auditing capabilities are supported in all regions where Amazon DocumentDB is available. If you are new to Amazon DocumentDB, the getting started guide will show you how to quickly provision an Amazon DocumentDB cluster and explore the flexibility of the document model. Have questions or feature requests? Email us at: documentdb-feature-request@amazon.com.