az afd waf-log-analytic metric
Note
This reference is part of the cdn extension for the Azure CLI (version 2.85.0 or higher). The extension will automatically install the first time you run an az afd waf-log-analytic metric command. Learn more about extensions.
Manage WAF related metric statistics for AFD profile.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az afd waf-log-analytic metric list |
Get Waf related log analytics report for AFD profile. |
Extension | GA |
az afd waf-log-analytic metric list
Get Waf related log analytics report for AFD profile.
az afd waf-log-analytic metric list --date-time-begin
--date-time-end
--granularity {P1D, PT1H, PT5M}
--metrics
--profile-name
--resource-group
[--actions]
[--group-by]
[--rule-types]
Examples
LogAnalytics_GetWafLogAnalyticsMetrics
az afd waf-log-analytic metric list --resource-group RG --profile-name profile1 --metrics "[clientRequestCount]" --date-time-begin 2020-11-04T06:49:27.554Z --date-time-end 2020-11-04T09:49:27.554Z --granularity PT5M --actions "[block,log]"
Required Parameters
The start datetime.
The end datetime.
The interval granularity.
| Property | Value |
|---|---|
| Accepted values: | P1D, PT1H, PT5M |
Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |