Edit

Supported logs for Microsoft.DocumentDB/DatabaseAccounts

The following table lists the types of logs available for the Microsoft.DocumentDB/DatabaseAccounts resource type.

For a list of supported metrics, see Supported metrics - Microsoft.DocumentDB/DatabaseAccounts

Category Costs to export Log table Supports basic log plan Supports ingestion-time transformation Example queries
CassandraRequests No CDBCassandraRequests

This table details data plane operations, specifically for Cassandra API accounts.

Yes Yes
ControlPlaneRequests No CDBControlPlaneRequests

This table details all control plane operations executed on the account, which include modifications to the regional failover policy, indexing policy, IAM role assignments, backup/restore policies, VNet and firewall rules, private links as well as updates and deletes of the account.

Yes Yes
DataPlaneRequests No CDBDataPlaneRequests

The DataPlaneRequests table captures every data plane operation for the Cosmos DB account. Data Plane requests are operations executed to create, update, delete or retrieve data within the account.

Yes Yes
DataPlaneRequests - Aggregated 15 Min Yes CDBDataPlaneRequests15M

The CDBDataPlaneRequests5M table consolidates logs for data-plane requests every fifteen minutes. These logs are aggregated based on the columns in the CDBDataPlaneRequests table. For detailed information about the log context, please refer to the CDBDataPlaneRequests table.

Yes No
DataPlaneRequests - Aggregated 5 Min Yes CDBDataPlaneRequests5M

The CDBDataPlaneRequests5M table consolidates logs for data-plane requests every five minutes. These logs are aggregated based on the columns in the CDBDataPlaneRequests table. For detailed information about the log context, please refer to the CDBDataPlaneRequests table.

Yes No
GremlinRequests No CDBGremlinRequests

This table details data plane operations, specifically for Graph API accounts.

Yes Yes
MongoRequests No CDBMongoRequests

This table details data plane operations, specifically for Mongo API accounts.

Yes Yes
PartitionKeyRUConsumption No CDBPartitionKeyRUConsumption

This table details the RU (Request Unit) consumption for logical partition keys in each region, within each of their physical partitions. This data can be used to identify hot partitions from a request volume perspective.

Yes Yes
PartitionKeyStatistics No CDBPartitionKeyStatistics

This table provides outlier logical partition keys that have consumed more storage space than others. Statistics are based on a sub-sampling of partition keys within the collection and hence these are approximate. Partition keys that are below 1GB of storage may not show up in the reported statistics.

Yes Yes
QueryRuntimeStatistics No CDBQueryRuntimeStatistics

This table details query operations executed against a SQL API account. By default, the query text and its parameters are obfuscated to avoid logging PII data with full text query logging available by request.

Yes Yes
TableApiRequests Yes CDBTableApiRequests

This table details data plane operations, specifically for Table API accounts.

Yes Yes

Next Steps