az hdinsight azure-monitor-agent
Manage Azure Monitor Agent logs integration on an HDInsight cluster.
Commands
Name | Description | Type | Status |
---|---|---|---|
az hdinsight azure-monitor-agent disable |
Disable the Azure Monitor Agent logs integration on an HDInsight cluster. |
Core | GA |
az hdinsight azure-monitor-agent enable |
Enable the Azure Monitor Agent logs integration on an HDInsight cluster. |
Core | GA |
az hdinsight azure-monitor-agent show |
Get the status of Azure Monitor Agent logs integration on an HDInsight cluster. |
Core | GA |
az hdinsight azure-monitor-agent disable
Disable the Azure Monitor Agent logs integration on an HDInsight cluster.
az hdinsight azure-monitor-agent disable --name
--resource-group
Examples
Disable the Azure Monitor Agent logs integration on an HDInsight cluster.
az hdinsight azure-monitor-agent disable --name MyCluster --resource-group rg
Required Parameters
The name of the cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az hdinsight azure-monitor-agent enable
Enable the Azure Monitor Agent logs integration on an HDInsight cluster.
az hdinsight azure-monitor-agent enable --name
--resource-group
--workspace
[--no-validation-timeout]
[--primary-key]
Examples
Enable the Azure Monitor Agent logs integration on an HDInsight cluster.
az hdinsight azure-monitor-agent enable --name MyCluster --resource-group rg --workspace WorkspaceId --primary-key WorkspaceKey
Required Parameters
The name of the cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name, resource ID or workspace ID of Log Analytics workspace.
Optional Parameters
Permit timeout error during argument validation phase. If omitted, validation timeout error will be permitted.
The certificate for the Log Analytics workspace. Required when workspace ID is provided.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az hdinsight azure-monitor-agent show
Get the status of Azure Monitor Agent logs integration on an HDInsight cluster.
az hdinsight azure-monitor-agent show --name
--resource-group
Examples
Get the status of Azure Monitor Agent logs integration on an HDInsight cluster.
az hdinsight azure-monitor-agent show --name MyCluster --resource-group rg
Required Parameters
The name of the cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI