Share via


az hdinsight azure-monitor

Manage Azure Monitor logs integration on an HDInsight cluster.

Commands

Name Description Type Status
az hdinsight azure-monitor disable

Disable the Azure Monitor logs integration on an HDInsight cluster.

Core GA
az hdinsight azure-monitor enable

Enable the Azure Monitor logs integration on an HDInsight cluster.

Core GA
az hdinsight azure-monitor show

Get the status of Azure Monitor logs integration on an HDInsight cluster.

Core GA

az hdinsight azure-monitor disable

Disable the Azure Monitor logs integration on an HDInsight cluster.

az hdinsight azure-monitor disable --name
                                   --resource-group

Required Parameters

--name -n

The name of the cluster.

--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 hdinsight azure-monitor enable

Enable the Azure Monitor logs integration on an HDInsight cluster.

az hdinsight azure-monitor enable --name
                                  --resource-group
                                  --workspace
                                  [--no-validation-timeout]
                                  [--primary-key]

Required Parameters

--name -n

The name of the cluster.

--resource-group -g

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

--workspace

The name, resource ID or workspace ID of Log Analytics workspace.

Optional Parameters

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

--no-validation-timeout

Permit timeout error during argument validation phase. If omitted, validation timeout error will be permitted.

Property Value
Default value: False
--primary-key

The certificate for the Log Analytics workspace. Required when workspace ID is provided.

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 hdinsight azure-monitor show

Get the status of Azure Monitor logs integration on an HDInsight cluster.

az hdinsight azure-monitor show --name
                                --resource-group

Required Parameters

--name -n

The name of the cluster.

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