az monitor app-insights component continues-export

Note

This reference is part of the application-insights extension for Azure CLI and requires version 2.0.79 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

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 delete

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

az monitor app-insights component continues-export list

List Continuous Export configurations for an Application Insights component.

az monitor app-insights component continues-export show

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

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

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 --app
                                                          --id
                                                          --resource-group
                                                          [--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

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

--id

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

--resource-group -g

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

Optional Parameters

--yes -y

Do not prompt for confirmation.

az monitor app-insights component continues-export list

List Continuous Export configurations for an Application Insights component.

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

Examples

ExportConfigurationsList

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

az monitor app-insights component continues-export show

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

az monitor app-insights component continues-export show --app
                                                        --id
                                                        --resource-group

Examples

Get 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

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

--id

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

--resource-group -g

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

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 --app
                                                          --id
                                                          --resource-group
                                                          [--dest-account]
                                                          [--dest-container]
                                                          [--dest-sas]
                                                          [--dest-sub-id]
                                                          [--dest-type {Blob}]
                                                          [--is-enabled {false, true}]
                                                          [--record-types {Availability, Event, Exceptions, Messages, Metrics, PageViewPerformance, PageViews, PerformanceCounters, Rdd, Requests}]

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

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

--id

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

--resource-group -g

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

Optional Parameters

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