Share via


az afd log-analytic metric

Manage metric statistics for AFD profile.

Commands

Name Description Type Status
az afd log-analytic metric list

Get log report for AFD profile.

Core GA

az afd log-analytic metric list

Get log report for AFD profile.

az afd log-analytic metric list --custom-domains
                                --date-time-begin
                                --date-time-end
                                --granularity {P1D, PT1H, PT5M}
                                --metrics
                                --profile-name
                                --protocols
                                --resource-group
                                [--continents]
                                [--country-or-regions]
                                [--group-by]

Required Parameters

--custom-domains

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

--date-time-begin

The start datetime.

--date-time-end

The end datetime.

--granularity

The interval granularity.

Accepted values: P1D, PT1H, PT5M
--metrics

Metric types to include. 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.

--protocols

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

--resource-group -g

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

Optional Parameters

--continents

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

--country-or-regions

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.

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.