az arcappliance logs
Note
This reference is part of the arcappliance extension for the Azure CLI (version 2.41.0 or higher). The extension will automatically install the first time you run an az arcappliance logs command. Learn more about extensions.
Command group for collecting logs for an Appliance cluster.
Commands
az arcappliance logs hci |
Command to collect logs for an Appliance on Azure Stack HCI. |
az arcappliance logs kubevirt |
Command to collect logs for Appliance on KubeVirt. |
az arcappliance logs scvmm |
Command to collect logs for Arc Appliance on SCVMM. |
az arcappliance logs vmware |
Command to collect logs for Appliance on VMware. |
az arcappliance logs hci
Command to collect logs for an Appliance on Azure Stack HCI.
az arcappliance logs hci [--cloudagent]
[--ip]
[--kubeconfig]
[--loginconfigfile]
[--out-dir]
Examples
Collect Appliance logs on HCI using IP
az arcappliance logs hci --ip [REQUIRED] --kubeconfig [OPTIONAL] --out-dir [OPTIONAL]
Collect Appliance logs on HCI using kubeconfig
az arcappliance logs hci --ip [OPTIONAL] --kubeconfig [REQUIRED] --out-dir [OPTIONAL]
Collect Appliance logs using noninteractive feature on HCI using HCI credentials as parameters
az arcappliance logs hci --ip [REQUIRED] --kubeconfig [OPTIONAL] --out-dir [OPTIONAL] --cloudagent [REQUIRED] --loginconfigfile [REQUIRED]
Optional Parameters
FQDN or IP address of cloud agent service for Arc Resource Bridge.
IP address assigned to the Arc Resource Bridge or the Appliance VM IP. You might be able to find this by searching for the VM in the private cloud or inside the kubeconfig file.
Path to kubeconfig output from deploy command.
File path for HCI login configuration.
Output directory where log files should be output, defaults to ./ (current directory).
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 arcappliance logs kubevirt
Command to collect logs for Appliance on KubeVirt.
az arcappliance logs kubevirt [--ip]
[--kubeconfig]
[--out-dir]
Examples
Collect Appliance logs on kubevirt using IP
az arcappliance logs kubevirt --ip [REQUIRED] --kubeconfig [OPTIONAL] --out-dir [OPTIONAL]
Collect Appliance logs on kubevirt using kubeconfig
az arcappliance logs kubevirt --ip [OPTIONAL] --kubeconfig [REQUIRED] --out-dir [OPTIONAL]
Optional Parameters
IP address assigned to the Arc Resource Bridge or the Appliance VM IP. You might be able to find this by searching for the VM in the private cloud or inside the kubeconfig file.
Path to kubeconfig output from deploy command.
Output directory where log files should be output, defaults to ./ (current directory).
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 arcappliance logs scvmm
Command to collect logs for Arc Appliance on SCVMM.
az arcappliance logs scvmm [--ip]
[--kubeconfig]
[--out-dir]
Examples
Collect Arc Appliance logs on SCVMM using IP
az arcappliance logs scvmm --ip [REQUIRED] --kubeconfig [OPTIONAL] --out-dir [OPTIONAL]
Collect Appliance logs on SCVMM using kubeconfig
az arcappliance logs scvmm --ip [OPTIONAL] --kubeconfig [REQUIRED] --out-dir [OPTIONAL]
Optional Parameters
IP address assigned to the Arc Resource Bridge or the Appliance VM IP. You might be able to find this by searching for the VM in the private cloud or inside the kubeconfig file.
Path to kubeconfig output from deploy command.
Output directory where log files should be output, defaults to ./ (current directory).
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 arcappliance logs vmware
Command to collect logs for Appliance on VMware.
az arcappliance logs vmware [--address]
[--ip]
[--kubeconfig]
[--out-dir]
[--password]
[--username]
Examples
Collect Appliance logs on VMware using IP
az arcappliance logs vmware --ip [REQUIRED] --kubeconfig [OPTIONAL] --out-dir [OPTIONAL]
Collect Appliance logs on VMware using kubeconfig
az arcappliance logs vmware --ip [OPTIONAL] --kubeconfig [REQUIRED] --out-dir [OPTIONAL]
Collect Appliance logs using noninteractive feature on VMware using vmware credentials parameters
az arcappliance logs vmware --ip [REQUIRED] --kubeconfig [OPTIONAL] --out-dir [OPTIONAL] --address [REQUIRED] --username [REQUIRED] --password [REQUIRED]
Optional Parameters
FQDN or IP address for vCenter Server instance. Ex: 10.160.0.1.
IP address assigned to the Arc Resource Bridge or the Appliance VM IP. You might be able to find this by searching for the VM in the private cloud or inside the kubeconfig file.
Path to kubeconfig output from deploy command.
Output directory where log files should be output, defaults to ./ (current directory).
Password for vSphere account.
Username for vSphere account.
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.
Feedback
Submit and view feedback for