Share via


az afd waf-log-analytic metric

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.

Core 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]

Required Parameters

--date-time-begin

The start datetime.

--date-time-end

The end datetime.

--granularity

The interval granularity.

Accepted values: P1D, PT1H, PT5M
--metrics

Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--profile-name

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.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--actions

Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--group-by

Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--rule-types

Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.