log_analytics_waf_log_analytics_metrics
Creates, updates, deletes, gets or lists a log_analytics_waf_log_analytics_metrics
resource.
Overview
Name | log_analytics_waf_log_analytics_metrics |
Type | Resource |
Id | azure.cdn.log_analytics_waf_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 | actions , groupBy , ruleTypes | Get Waf related log analytics 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 |
---|---|---|
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. |
resourceGroupName | string | Name of the Resource group within the Azure subscription. |
subscriptionId | string | Azure Subscription ID. |
actions | array | |
groupBy | array | |
ruleTypes | array |
SELECT
examples
- get
Get Waf related log analytics report for AFD profile.
SELECT
dateTimeBegin,
dateTimeEnd,
granularity,
series
FROM azure.cdn.log_analytics_waf_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 actions = '{{ actions }}'
AND groupBy = '{{ groupBy }}'
AND ruleTypes = '{{ ruleTypes }}'
;