log_analytics
Creates, updates, deletes, gets or lists a log_analytics
resource.
Overview
Name | log_analytics |
Type | Resource |
Id | azure.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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
export_request_rate_by_interval | exec | location , subscriptionId , intervalLength | Export logs that show Api requests made by this subscription in the given time window to show throttling activities. | |
export_throttled_requests | exec | location , subscriptionId | Export 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.
Name | Datatype | Description |
---|---|---|
location | string | The location upon which virtual-machine-sizes is queried. |
subscriptionId | string | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
Lifecycle Methods
- export_request_rate_by_interval
- export_throttled_requests
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 }}
}'
;
Export logs that show total throttled Api requests for this subscription in the given time window.
EXEC azure.compute.log_analytics.export_throttled_requests
@location='{{ location }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"blobContainerSasUri": "{{ blobContainerSasUri }}",
"fromTime": "{{ fromTime }}",
"toTime": "{{ toTime }}",
"groupByThrottlePolicy": {{ groupByThrottlePolicy }},
"groupByOperationName": {{ groupByOperationName }},
"groupByResourceName": {{ groupByResourceName }},
"groupByClientApplicationId": {{ groupByClientApplicationId }},
"groupByUserAgent": {{ groupByUserAgent }}
}'
;