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 | Category display name | Log table | Supports basic log plan | Supports ingestion-time transformation | Example queries | Costs to export |
---|---|---|---|---|---|---|
CassandraRequests |
CassandraRequests | CDBCassandraRequests This table details data plane operations, specifically for Cassandra API accounts. |
Yes | Yes | No | |
ControlPlaneRequests |
ControlPlaneRequests | 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 | No | |
DataPlaneRequests |
DataPlaneRequests | 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 | No | |
GremlinRequests |
GremlinRequests | CDBGremlinRequests This table details data plane operations, specifically for Graph API accounts. |
Yes | Yes | No | |
MongoRequests |
MongoRequests | CDBMongoRequests This table details data plane operations, specifically for Mongo API accounts. |
Yes | Yes | No | |
PartitionKeyRUConsumption |
PartitionKeyRUConsumption | 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 | No | |
PartitionKeyStatistics |
PartitionKeyStatistics | 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 | No | |
QueryRuntimeStatistics |
QueryRuntimeStatistics | 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 | No | |
TableApiRequests |
TableApiRequests | CDBTableApiRequests This table details data plane operations, specifically for Table API accounts. |
Yes | No | Yes |
Next Steps
- Learn more about resource logs
- Stream resource logs to Event Hubs
- Change resource log diagnostic settings using the Azure Monitor REST API
- Analyze logs from Azure storage with Log Analytics
- Optimize log queries in Azure Monitor
- Aggregate data in a Log Analytics workspace by using summary rules (Preview)