Skip to content

Commit 8211603

Browse files
authored
Merge pull request #113292 from kanshiG/patch-85
Update with new queries
2 parents 6dc56b9 + f7ae3e9 commit 8211603

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

articles/cosmos-db/audit-control-plane-logs.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ After you turn on logging, use the following steps to track down operations for
6161
| where TimeGenerated >= ago(1h)
6262
```
6363

64-
The following screenshots capture logs when a VNET is added to an Azure Cosmos account:
64+
The following screenshots capture logs when a consistency level is changed for an Azure Cosmos account:
6565

6666
![Control plane logs when a VNet is added](./media/audit-control-plane-logs/add-ip-filter-logs.png)
6767

@@ -145,9 +145,22 @@ For API-specific operations, the operation is named with the following format:
145145

146146
* CassandraKeyspacesUpdateStart, CassandraKeyspacesUpdateComplete
147147
* CassandraKeyspacesThroughputUpdateStart, CassandraKeyspacesThroughputUpdateComplete
148+
* SqlContainersUpdateStart, SqlContainersUpdateComplete
148149

149150
The *ResourceDetails* property contains the entire resource body as a request payload and it contains all the properties requested to update
150151

152+
## Diagnostic log query for Control plane
153+
154+
```
155+
AzureDiagnostics 
156+
| where Category =="ControlPlaneRequests"
157+
| where  OperationName startswith "SqlContainersUpdateStart"
158+
159+
AzureDiagnostics 
160+
| where Category =="ControlPlaneRequests"
161+
| where  OperationName startswith "SqlContainersThroughputUpdateStart"
162+
```
163+
151164
## Next steps
152165

153166
* [Explore Azure Monitor for Azure Cosmos DB](../azure-monitor/insights/cosmosdb-insights-overview.md?toc=/azure/cosmos-db/toc.json&bc=/azure/cosmos-db/breadcrumb/toc.json)

0 commit comments

Comments
 (0)