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

--dest-container

The name of the destination storage container.

--dest-sas

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

--dest-sub-id

The subscription ID of the destination storage account.

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

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

--dest-type

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

Accepted values: Blob
Default value: Blob
--is-enabled

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

Accepted values: false, true
Default value: true
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.

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

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

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

--resource-group -g

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

--subscription

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

--yes -y

Do not prompt for confirmation.

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

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.

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

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

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

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

--resource-group -g

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

--subscription

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

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.

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

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

--dest-container

The name of the destination storage container.

--dest-sas

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

--dest-sub-id

The subscription ID of the destination storage account.

--dest-type

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

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.

--is-enabled

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

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

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

--subscription

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

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.