Skip to main content

log_analytics

Creates, updates, deletes, gets or lists a log_analytics resource.

Overview

Namelog_analytics
TypeResource
Idazure.compute.log_analytics

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
export_request_rate_by_intervalexeclocation, subscription_id, blobContainerSasUri, fromTime, toTime, intervalLengthExport logs that show Api requests made by this subscription in the given time window to show throttling activities.
export_throttled_requestsexeclocation, subscription_id, blobContainerSasUri, fromTime, toTimeExport logs that show total throttled Api requests for this subscription in the given time window.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationstringThe location name. Required.
subscription_idstring

Lifecycle Methods

Export logs that show Api requests made by this subscription in the given time window to show throttling activities.

EXEC azure.compute.log_analytics.export_request_rate_by_interval 
@location='{{ location }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"blobContainerSasUri": "{{ blobContainerSasUri }}",
"fromTime": "{{ fromTime }}",
"toTime": "{{ toTime }}",
"groupByThrottlePolicy": {{ groupByThrottlePolicy }},
"groupByOperationName": {{ groupByOperationName }},
"groupByResourceName": {{ groupByResourceName }},
"groupByClientApplicationId": {{ groupByClientApplicationId }},
"groupByUserAgent": {{ groupByUserAgent }},
"intervalLength": "{{ intervalLength }}"
}'
;