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, subscriptionId, intervalLengthExport logs that show Api requests made by this subscription in the given time window to show throttling activities.
export_throttled_requestsexeclocation, subscriptionIdExport 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 upon which virtual-machine-sizes is queried.
subscriptionIdstringSubscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

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,
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"intervalLength": "{{ intervalLength }}",
"blobContainerSasUri": "{{ blobContainerSasUri }}",
"fromTime": "{{ fromTime }}",
"toTime": "{{ toTime }}",
"groupByThrottlePolicy": {{ groupByThrottlePolicy }},
"groupByOperationName": {{ groupByOperationName }},
"groupByResourceName": {{ groupByResourceName }},
"groupByClientApplicationId": {{ groupByClientApplicationId }},
"groupByUserAgent": {{ groupByUserAgent }}
}'
;