Share via


az monitor log-analytics workspace pack

Manage intelligent packs for log analytics workspace.

Commands

Name Description Type Status
az monitor log-analytics workspace pack disable

Disable an intelligence pack for a given workspace.

Core GA
az monitor log-analytics workspace pack enable

Enable an intelligence pack for a given workspace.

Core GA
az monitor log-analytics workspace pack list

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

Core GA

az monitor log-analytics workspace pack disable

Disable an intelligence pack for a given workspace.

az monitor log-analytics workspace pack disable --intelligence-pack-name
                                                --resource-group
                                                --workspace-name

Examples

Disable an intelligence pack for a given workspace.

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

Required Parameters

--intelligence-pack-name --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

The name of the workspace.

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 log-analytics workspace pack enable

Enable an intelligence pack for a given workspace.

az monitor log-analytics workspace pack enable --intelligence-pack-name
                                               --resource-group
                                               --workspace-name

Examples

Enable an intelligence pack for a given workspace.

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

Required Parameters

--intelligence-pack-name --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

The name of the workspace.

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

Examples

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

The name of the workspace.

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.