az monitor log-analytics workspace pack

Manage intelligent packs for log analytics workspace.

Commands

az monitor log-analytics workspace pack disable

Disable an intelligence pack for a given workspace.

az monitor log-analytics workspace pack enable

Enable an intelligence pack for a given workspace.

az monitor log-analytics workspace pack list

List all the intelligence packs possible and whether they are enabled or disabled for a given workspace.

az monitor log-analytics workspace pack disable

Disable an intelligence pack for a given workspace.

az monitor log-analytics workspace pack disable --name
                                                --resource-group
                                                --workspace-name
                                                [--subscription]

Required Parameters

--name -n

The name of the intelligence pack to be disabled.

--resource-group -g

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

--workspace-name

Name of the Log Analytics Workspace.

Optional Parameters

--subscription

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

az monitor log-analytics workspace pack enable

Enable an intelligence pack for a given workspace.

az monitor log-analytics workspace pack enable --name
                                               --resource-group
                                               --workspace-name
                                               [--subscription]

Examples

Enable an intelligence pack for a given workspace. (autogenerated)

az monitor log-analytics workspace pack enable --name MyIntelligencePack --resource-group MyResourceGroup --workspace-name MyWorkspace

Required Parameters

--name -n

The name of the intelligence pack to be enabled.

--resource-group -g

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

--workspace-name

Name of the Log Analytics Workspace.

Optional Parameters

--subscription

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

az monitor log-analytics workspace pack list

List all the intelligence packs possible and whether they are enabled or disabled for a given workspace.

az monitor log-analytics workspace pack list --resource-group
                                             --workspace-name
                                             [--query-examples]
                                             [--subscription]

Examples

List all the intelligence packs possible and whether they are enabled or disabled for a given workspace. (autogenerated)

az monitor log-analytics workspace pack list --resource-group MyResourceGroup --workspace-name MyWorkspace

Required Parameters

--resource-group -g

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

--workspace-name

Name of the Log Analytics Workspace.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

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