log_analytics_log_analytics_metrics
Creates, updates, deletes, gets or lists a log_analytics_log_analytics_metrics
resource.
Overview
Name | log_analytics_log_analytics_metrics |
Type | Resource |
Id | azure.cdn.log_analytics_log_analytics_metrics |
Fields
The following fields are returned by SELECT
queries:
- get
Describe the result of a successful operation.
Name | Datatype | Description |
---|---|---|
dateTimeBegin | string (date-time) | |
dateTimeEnd | string (date-time) | |
granularity | string | |
series | array |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , profileName , metrics , dateTimeBegin , dateTimeEnd , granularity , customDomains , protocols | groupBy , continents , countryOrRegions | Get log report for AFD profile |
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 |
---|---|---|
customDomains | array | |
dateTimeBegin | string (date-time) | |
dateTimeEnd | string (date-time) | |
granularity | string | |
metrics | array | |
profileName | string | Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group. |
protocols | array | |
resourceGroupName | string | Name of the Resource group within the Azure subscription. |
subscriptionId | string | Azure Subscription ID. |
continents | array | |
countryOrRegions | array | |
groupBy | array |
SELECT
examples
- get
Get log report for AFD profile
SELECT
dateTimeBegin,
dateTimeEnd,
granularity,
series
FROM azure.cdn.log_analytics_log_analytics_metrics
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND profileName = '{{ profileName }}' -- required
AND metrics = '{{ metrics }}' -- required
AND dateTimeBegin = '{{ dateTimeBegin }}' -- required
AND dateTimeEnd = '{{ dateTimeEnd }}' -- required
AND granularity = '{{ granularity }}' -- required
AND customDomains = '{{ customDomains }}' -- required
AND protocols = '{{ protocols }}' -- required
AND groupBy = '{{ groupBy }}'
AND continents = '{{ continents }}'
AND countryOrRegions = '{{ countryOrRegions }}'
;