diff --git a/src/Compute/Compute/help/Export-AzLogAnalyticRequestRateByInterval.md b/src/Compute/Compute/help/Export-AzLogAnalyticRequestRateByInterval.md index aaaf07545072..0ecaba7c7127 100644 --- a/src/Compute/Compute/help/Export-AzLogAnalyticRequestRateByInterval.md +++ b/src/Compute/Compute/help/Export-AzLogAnalyticRequestRateByInterval.md @@ -20,7 +20,7 @@ Export-AzLogAnalyticRequestRateByInterval [-Location] [-FromTime] 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 +This command downloads a .csv file to the provided container. The format of the file is: + +TIMESTAMP operationName TotalRequests SuccessfulRequests ThrottledRequests +--------- ------------- ------------- ------------------ ----------------- +2/21/2018 7:00:00 PM 10 10 0 +2/21/2018 7:30:00 PM 8 8 0 +2/21/2018 9:00:00 PM 9 9 0 + ``` 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. @@ -37,6 +45,15 @@ This command stores the aggregated numbers of Microsoft.Compute API calls separa ### Example 2: Export records aggregated by application id ``` 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 + +This command downloads a .csv file to the provided container. The format of the file is: + +TIMESTAMP clientApplicationId TotalRequests SuccessfulRequests ThrottledRequests +--------- ------------------- ------------- ------------------ ----------------- +2/21/2018 7:00:00 PM 10 10 0 +2/21/2018 7:30:00 PM 8 8 0 +2/21/2018 9:00:00 PM 9 9 0 + ``` 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. @@ -44,6 +61,14 @@ This command stores the aggregated numbers of Microsoft.Compute API calls separa ### Example 3: Export records aggregated by user agent ``` 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 +This command downloads a .csv file to the provided container. The format of the file is: + +TIMESTAMP userAgent TotalRequests SuccessfulRequests ThrottledRequests +--------- --------- ------------- ------------------ ----------------- +2/21/2018 7:00:00 PM 10 10 0 +2/21/2018 7:30:00 PM 8 8 0 +2/21/2018 9:00:00 PM 9 9 0 + ``` 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. diff --git a/src/Compute/Compute/help/Export-AzLogAnalyticThrottledRequest.md b/src/Compute/Compute/help/Export-AzLogAnalyticThrottledRequest.md index dd0e4d421b14..cd6f05922432 100644 --- a/src/Compute/Compute/help/Export-AzLogAnalyticThrottledRequest.md +++ b/src/Compute/Compute/help/Export-AzLogAnalyticThrottledRequest.md @@ -21,7 +21,7 @@ Export-AzLogAnalyticThrottledRequest [-Location] [-FromTime] ## DESCRIPTION This exports the total number of throttled Microsoft.Compute API calls. -The logs can be further aggregated by three options: GroupByOperationName, GroupByThrottlePolicy, or GroupByResourceName. +The logs can be further aggregated by five options: GroupByOperationName, GroupByThrottlePolicy, GroupByResourceName, GroupByUserAgent, or GroupByApplicationId. Note that this cmdlet collects only CRP logs. For an overview of the Compute Resource Provider's API throttling, see https://docs.microsoft.com/azure/azure-resource-manager/resource-manager-request-limits.