az hdinsight azure-monitor

Manage Azure Monitor logs integration on an HDInsight cluster.

Commands

az hdinsight azure-monitor disable

Disable the Azure Monitor logs integration on an HDInsight cluster.

az hdinsight azure-monitor enable

Enable the Azure Monitor logs integration on an HDInsight cluster.

az hdinsight azure-monitor show

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

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

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

--no-validation-timeout

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

--primary-key

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

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