az openshift monitor
Commands to manage Log Analytics monitoring. Requires "--workspace-id".
Commands
az openshift monitor disable |
Disable Log Analytics monitoring. |
az openshift monitor enable |
Enable Log Analytics monitoring. Requires "--workspace-id". |
az openshift monitor disable
Disable Log Analytics monitoring.
az openshift monitor disable --name
--resource-group
[--no-wait]
[--subscription]
Examples
Disable Log Analytics monitoring.
az openshift monitor disable -g MyResourceGroup -n MyManagedCluster
Required Parameters
Name of the managed OpenShift cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az openshift monitor enable
Enable Log Analytics monitoring. Requires "--workspace-id".
az openshift monitor enable --name
--resource-group
--workspace-id
[--no-wait]
[--subscription]
Examples
Enable Log Analytics in a managed OpenShift cluster.
az openshift monitor enable -g MyResourceGroup -n MyManagedCluster --workspace-id "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.OperationalInsights/workspaces/{workspace-id}"
Required Parameters
Name of the managed OpenShift cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The resource ID of an existing Log Analytics Workspace to use for storing monitoring data.
Optional Parameters
Do not wait for the long-running operation to finish.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.