Forum Discussion
apalomo
Aug 13, 2019Copper Contributor
Log Analytics - Cosmos DB Partition Key Statistics
Hello, in our IoT Platform based on Azure we are ingesting a massive amount of information on a daily basis. This information is partially stored in Cosmos DB, therefore I would like to control t...
CliveWatson
Aug 13, 2019Former Employee
There are some example sin the docs:
https://docs.microsoft.com/en-us/azure/cosmos-db/logging#view-logs-in-azure-monitor-logs
The logs are found here with this base query:
AzureDiagnostics
| where ResourceProvider=="MICROSOFT.DOCUMENTDB"
This extra query shows which Categories you have?
Go to Log Analytics and Run Query