az afd log-analytic metric

Note

This command group has commands that are defined in both Azure CLI and at least one extension. Install each extension to benefit from its extended capabilities. Learn more about extensions.

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 (cdn extension)

Get log report for AFD profile.

Extension 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.

Property Value
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

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--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.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az afd log-analytic metric list (cdn extension)

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.

Property Value
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

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--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.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False