Skip to content

Commit fc0037d

Browse files
authored
Merge pull request #113874 from kanshiG/patch-87
update with control plane logs
2 parents 98bc75d + b7e8d64 commit fc0037d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

articles/cosmos-db/cosmosdb-monitor-resource-logs.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,16 @@ For detailed information about how to create a diagnostic setting by using the A
215215
count()
216216
by OperationName, requestResourceType_s, userAgent_s, collectionRid_s, bin(TimeGenerated, 1h)
217217
```
218+
219+
1. How to get Controlplane logs?
220+
Please rememeber to switch on flag as described (here)[https://docs.microsoft.com/en-us/azure/cosmos-db/audit-control-plane-logs#disable-key-based-metadata-write-access] and execute operations via powershell, CLI or ARM.
221+
222+
```Kusto
223+
AzureDiagnostics
224+
| where Category =="ControlPlaneRequests"
225+
| summarize by OperationName
226+
```
227+
218228

219229
## Next steps
220230

0 commit comments

Comments
 (0)