You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/logging.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -396,7 +396,7 @@ Now that you've enabled data collection, run the following log search example by
396
396

397
397
398
398
<aid="#queries"></a>
399
-
### CosmosDB Log Analytics queries in Azure Monitor
399
+
### Azure Cosmos DB Log Analytics queries in Azure Monitor
400
400
401
401
Here are some additional queries that you can enter into the **Log search** box to help you monitor your Azure Cosmos containers. These queries work with the [new language](../log-analytics/log-analytics-log-search-upgrade.md).
402
402
@@ -440,6 +440,7 @@ To learn about the meaning of the data that's returned by each log search, see [
440
440
| where Caller == "[email protected]" and ResourceProvider=="MICROSOFT.DOCUMENTDB" and Category=="DataPlaneRequests"
441
441
| summarize count() by Resource
442
442
```
443
+
443
444
> [!NOTE]
444
445
> This command is for an activity log, not a diagnostic log.
445
446
@@ -457,8 +458,6 @@ To learn about the meaning of the data that's returned by each log search, see [
457
458
| order by requestCharge_s desc
458
459
| limit 100
459
460
```
460
-
461
-
462
461
463
462
* To query for which operations take longer than 3 milliseconds:
464
463
@@ -491,11 +490,8 @@ To learn about the meaning of the data that's returned by each log search, see [
491
490
AzureDiagnostics
492
491
| where ResourceProvider=="MICROSOFT.DOCUMENTDB" and Category=="PartitionKeyStatistics"
For more information about how to use the new Log Search language, see [Understand log searches in Azure Monitor logs](../log-analytics/log-analytics-log-search-new.md).
0 commit comments