Share via


az monitor app-insights component continues-export

Note

This reference is part of the application-insights extension for the Azure CLI (version 2.71.0 or higher). The extension will automatically install the first time you run an az monitor app-insights component continues-export command. Learn more about extensions.

Manage Continuous Export configurations for an Application Insights component.

Commands

Name Description Type Status
az monitor app-insights component continues-export create

Create a Continuous Export configuration for an Application Insights component.

Extension GA
az monitor app-insights component continues-export delete

Delete a specific Continuous Export configuration of an Application Insights component.

Extension GA
az monitor app-insights component continues-export list

List a list of Continuous Export configuration of an Application Insights component.

Extension GA
az monitor app-insights component continues-export show

Get the Continuous Export configuration for this export id.

Extension GA
az monitor app-insights component continues-export update

Update a Continuous Export configuration for an Application Insights component.

Extension GA

az monitor app-insights component continues-export create

Create a Continuous Export configuration for an Application Insights component.

az monitor app-insights component continues-export create --app
                                                          --dest-account
                                                          --dest-container
                                                          --dest-sas
                                                          --dest-sub-id
                                                          --record-types {Availability, Event, Exceptions, Messages, Metrics, PageViewPerformance, PageViews, PerformanceCounters, Rdd, Requests}
                                                          --resource-group
                                                          [--dest-type {Blob}]
                                                          [--is-enabled {false, true}]

Examples

Create a Continuous Export configuration.

az monitor app-insights component continues-export create -g rg \
--app 578f0e27-12e9-4631-bc02-50b965da2633 \
--record-types Requests Event Exceptions Metrics PageViews \
--dest-account account --dest-container container --dest-sub-id sub-id \
--dest-sas se=2020-10-27&sp=w&sv=2018-11-09&sr=c

Required Parameters

--app -a

GUID, app name, or fully-qualified Azure resource name of Application Insights component. The application GUID may be acquired from the API Access menu item on any Application Insights resource in the Azure portal. If using an application name, please specify resource group.

--dest-account

The name of destination storage account.

Property Value
Parameter group: Destination Arguments
--dest-container

The name of the destination storage container.

Property Value
Parameter group: Destination Arguments
--dest-sas

The SAS token for the destination storage container. It must grant write permission.

Property Value
Parameter group: Destination Arguments
--dest-sub-id

The subscription ID of the destination storage account.

Property Value
Parameter group: Destination Arguments
--record-types

The document types to be exported, as comma separated values. Allowed values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'.

Property Value
Accepted values: Availability, Event, Exceptions, Messages, Metrics, PageViewPerformance, PageViews, PerformanceCounters, Rdd, Requests
--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.

--dest-type

The Continuous Export destination type. This has to be 'Blob'.

Property Value
Parameter group: Destination Arguments
Default value: Blob
Accepted values: Blob
--is-enabled

Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.

Property Value
Default value: true
Accepted values: false, true
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 monitor app-insights component continues-export delete

Delete a specific Continuous Export configuration of an Application Insights component.

az monitor app-insights component continues-export delete --id
                                                          [--app]
                                                          [--ids]
                                                          [--resource-group]
                                                          [--subscription]
                                                          [--yes]

Examples

Delete a Continuous Export configuration by ID.

az monitor app-insights component continues-export delete -g rg --app 578f0e27-12e9-4631-bc02-50b965da2633 --id exportid

Required Parameters

--id

The Continuous Export configuration ID. This is unique within a Application Insights component.

Optional Parameters

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

--app -a

GUID, app name, or fully-qualified Azure resource name of Application Insights component. The application GUID may be acquired from the API Access menu item on any Application Insights resource in the Azure portal. If using an application name, please specify resource group.

Property Value
Parameter group: Resource Id Arguments
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

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

Property Value
Parameter group: Resource Id Arguments
--subscription

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

Property Value
Parameter group: Resource Id Arguments
--yes -y

Do not prompt for confirmation.

Property Value
Default value: False
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.

--verbose

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

Property Value
Default value: False

az monitor app-insights component continues-export list

List a list of Continuous Export configuration of an Application Insights component.

az monitor app-insights component continues-export list --app
                                                        --resource-group

Examples

List export configurations

az monitor app-insights component continues-export list -g rg --app 578f0e27-12e9-4631-bc02-50b965da2633

Required Parameters

--app -a

GUID, app name, or fully-qualified Azure resource name of Application Insights component. The application GUID may be acquired from the API Access menu item on any Application Insights resource in the Azure portal. If using an application name, please specify resource group.

--resource-group -g

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

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 monitor app-insights component continues-export show

Get the Continuous Export configuration for this export id.

az monitor app-insights component continues-export show --id
                                                        [--app]
                                                        [--ids]
                                                        [--resource-group]
                                                        [--subscription]

Examples

Show a continuous export configuration by ID.

az monitor app-insights component continues-export show -g rg --app 578f0e27-12e9-4631-bc02-50b965da2633 --id exportid

Required Parameters

--id

The Continuous Export configuration ID. This is unique within a Application Insights component.

Optional Parameters

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

--app -a

GUID, app name, or fully-qualified Azure resource name of Application Insights component. The application GUID may be acquired from the API Access menu item on any Application Insights resource in the Azure portal. If using an application name, please specify resource group.

Property Value
Parameter group: Resource Id Arguments
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

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

Property Value
Parameter group: Resource Id Arguments
--subscription

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

Property Value
Parameter group: Resource Id Arguments
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.

--verbose

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

Property Value
Default value: False

az monitor app-insights component continues-export update

Update a Continuous Export configuration for an Application Insights component.

az monitor app-insights component continues-export update --id
                                                          [--app]
                                                          [--dest-account]
                                                          [--dest-container]
                                                          [--dest-sas]
                                                          [--dest-sub-id]
                                                          [--dest-type {Blob}]
                                                          [--ids]
                                                          [--is-enabled {false, true}]
                                                          [--record-types {Availability, Event, Exceptions, Messages, Metrics, PageViewPerformance, PageViews, PerformanceCounters, Rdd, Requests}]
                                                          [--resource-group]
                                                          [--subscription]

Examples

Update a Continuous Export configuration record-types.

az monitor app-insights component continues-export update -g rg \
--app 578f0e27-12e9-4631-bc02-50b965da2633 \
--id exportid \
--record-types Requests Event Exceptions Metrics PageViews

Update a Continuous Export configuration storage destination.

az monitor app-insights component continues-export update -g rg \
--app 578f0e27-12e9-4631-bc02-50b965da2633 \
--id exportid \
--dest-account account --dest-container container --dest-sub-id sub-id \
--dest-sas se=2020-10-27&sp=w&sv=2018-11-09&sr=c

Required Parameters

--id

The Continuous Export configuration ID. This is unique within a Application Insights component.

Optional Parameters

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

--app -a

GUID, app name, or fully-qualified Azure resource name of Application Insights component. The application GUID may be acquired from the API Access menu item on any Application Insights resource in the Azure portal. If using an application name, please specify resource group.

Property Value
Parameter group: Resource Id Arguments
--dest-account

The name of destination storage account.

Property Value
Parameter group: Destination Arguments
--dest-container

The name of the destination storage container.

Property Value
Parameter group: Destination Arguments
--dest-sas

The SAS token for the destination storage container. It must grant write permission.

Property Value
Parameter group: Destination Arguments
--dest-sub-id

The subscription ID of the destination storage account.

Property Value
Parameter group: Destination Arguments
--dest-type

The Continuous Export destination type. This has to be 'Blob'.

Property Value
Parameter group: Destination Arguments
Accepted values: Blob
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

Property Value
Parameter group: Resource Id Arguments
--is-enabled

Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.

Property Value
Accepted values: false, true
--record-types

The document types to be exported, as comma separated values. Allowed values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'.

Property Value
Accepted values: Availability, Event, Exceptions, Messages, Metrics, PageViewPerformance, PageViews, PerformanceCounters, Rdd, Requests
--resource-group -g

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

Property Value
Parameter group: Resource Id Arguments
--subscription

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

Property Value
Parameter group: Resource Id Arguments
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.

--verbose

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

Property Value
Default value: False