Skip to content

Commit 9dea193

Browse files
Sandidowyunchi-ms
andauthored
Log Analytics .md files updates (#14203)
* desc update and results * changelog * Update ChangeLog.md * Update ChangeLog.md Co-authored-by: Yunchi Wang <[email protected]>
1 parent bac8b2c commit 9dea193

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

src/Compute/Compute/help/Export-AzLogAnalyticRequestRateByInterval.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Export-AzLogAnalyticRequestRateByInterval [-Location] <String> [-FromTime] <Date
2020
```
2121

2222
## DESCRIPTION
23-
Exports statistical data about the subscription's calls to the Microsoft.Compute API by Success, Failure, or Throttled status, in predefined time intervals. The logs can be further grouped by three parameters: GroupByOperationName, GroupByThrottlePolicy, or GroupByResourceName.
23+
Exports statistical data about the subscription's calls to the Microsoft.Compute API by Success, Failure, or Throttled status, in predefined time intervals. The logs can be further grouped by five parameters: GroupByOperationName, GroupByThrottlePolicy, GroupByResourceName, GroupByUserAgent, or GroupByApplicationId.
2424
Note that this cmdlet collects only Compute Resource Provider logs; moreover, data about the Disk and Snapshot resource types is not yet available.
2525

2626
For an overview of the Compute Resource Provider's API throttling, see https://docs.microsoft.com/azure/azure-resource-manager/resource-manager-request-limits.
@@ -30,20 +30,45 @@ For an overview of the Compute Resource Provider's API throttling, see https://d
3030
### Example 1: Export records aggregated by operation name
3131
```
3232
PS C:\> Export-AzLogAnalyticRequestRateByInterval -Location 'West Central US' -FromTime '2018-02-20T17:54:14.8806951-08:00' -ToTime '2018-02-22T17:54:17.5832413-08:00' -BlobContainerSasUri 'https://wkuotest1.blob.core.windows.net/mylogs?someSasUri' -IntervalLength ThirtyMins -GroupByOperationName
33+
This command downloads a .csv file to the provided container. The format of the file is:
34+
35+
TIMESTAMP operationName TotalRequests SuccessfulRequests ThrottledRequests
36+
--------- ------------- ------------- ------------------ -----------------
37+
2/21/2018 7:00:00 PM <operationName> 10 10 0
38+
2/21/2018 7:30:00 PM <operationName> 8 8 0
39+
2/21/2018 9:00:00 PM <operationName> 9 9 0
40+
3341
```
3442

3543
This command stores the aggregated numbers of Microsoft.Compute API calls separated by Success, Failure, or Throttled between 2018-02-20T17:54:14 and 2018-02-22T17:54:17 in the given SAS URI, aggregated by operation name.
3644

3745
### Example 2: Export records aggregated by application id
3846
```
3947
PS C:\> Export-AzLogAnalyticRequestRateByInterval -Location 'West Central US' -FromTime '2018-02-20T17:54:14.8806951-08:00' -ToTime '2018-02-22T17:54:17.5832413-08:00' -BlobContainerSasUri 'https://wkuotest1.blob.core.windows.net/mylogs?someSasUri' -IntervalLength ThirtyMins -GroupByApplicationId
48+
49+
This command downloads a .csv file to the provided container. The format of the file is:
50+
51+
TIMESTAMP clientApplicationId TotalRequests SuccessfulRequests ThrottledRequests
52+
--------- ------------------- ------------- ------------------ -----------------
53+
2/21/2018 7:00:00 PM <clientApplicationId> 10 10 0
54+
2/21/2018 7:30:00 PM <clientApplicationId> 8 8 0
55+
2/21/2018 9:00:00 PM <clientApplicationId> 9 9 0
56+
4057
```
4158

4259
This command stores the aggregated numbers of Microsoft.Compute API calls separated by Success, Failure, or Throttled between 2018-02-20T17:54:14 and 2018-02-22T17:54:17 in the given SAS URI, aggregated by application id.
4360

4461
### Example 3: Export records aggregated by user agent
4562
```
4663
PS C:\> Export-AzLogAnalyticRequestRateByInterval -Location 'West Central US' -FromTime '2018-02-20T17:54:14.8806951-08:00' -ToTime '2018-02-22T17:54:17.5832413-08:00' -BlobContainerSasUri 'https://wkuotest1.blob.core.windows.net/mylogs?someSasUri' -IntervalLength ThirtyMins -GroupByUserAgent
64+
This command downloads a .csv file to the provided container. The format of the file is:
65+
66+
TIMESTAMP userAgent TotalRequests SuccessfulRequests ThrottledRequests
67+
--------- --------- ------------- ------------------ -----------------
68+
2/21/2018 7:00:00 PM <userAgent> 10 10 0
69+
2/21/2018 7:30:00 PM <userAgent> 8 8 0
70+
2/21/2018 9:00:00 PM <userAgent> 9 9 0
71+
4772
```
4873

4974
This command stores the aggregated numbers of Microsoft.Compute API calls separated by Success, Failure, or Throttled between 2018-02-20T17:54:14 and 2018-02-22T17:54:17 in the given SAS URI, aggregated by user agent.

src/Compute/Compute/help/Export-AzLogAnalyticThrottledRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Export-AzLogAnalyticThrottledRequest [-Location] <String> [-FromTime] <DateTime>
2121

2222
## DESCRIPTION
2323
This exports the total number of throttled Microsoft.Compute API calls.
24-
The logs can be further aggregated by three options: GroupByOperationName, GroupByThrottlePolicy, or GroupByResourceName.
24+
The logs can be further aggregated by five options: GroupByOperationName, GroupByThrottlePolicy, GroupByResourceName, GroupByUserAgent, or GroupByApplicationId.
2525
Note that this cmdlet collects only CRP logs.
2626

2727
For an overview of the Compute Resource Provider's API throttling, see https://docs.microsoft.com/azure/azure-resource-manager/resource-manager-request-limits.

0 commit comments

Comments
 (0)