Skip to content

Commit 8587a84

Browse files
Merge pull request #17376 from rcheeran/patch-1
Update get-on-demand-logs.md
2 parents 3e035f3 + 3fbfc7d commit 8587a84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AKS-Arc/get-on-demand-logs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ Before log collection, you must have the SSH key you obtained when you created t
2828
You can collect logs using IPs or the `kubeconfig` parameter. If an IP is used, it collects the log from a particular node. If `kubeconfig` is used, it collects logs from all cluster nodes. This command generates a .zip file on the local disk. For other parameters, see the [Az CLI reference](/cli/azure/aksarc/logs#az-aksarc-logs-hci).
2929

3030
```azurecli
31-
az aksarc logs hci --ip 192.168.200.25 --credentials-dir ./.ssh --out-dir ./logs
31+
az aksarc get-logs --ip 192.168.200.25 --credentials-dir ./.ssh --out-dir ./logs
3232
```
3333

3434
Or
3535

3636
```azurecli
37-
az aksarc logs hci --kubeconfig ./.kube/config --credentials-dir ./.ssh --out-dir ./logs
37+
az aksarc get-logs --kubeconfig ./.kube/config --credentials-dir ./.ssh --out-dir ./logs
3838
```
3939

4040
## Send logs to Microsoft Support

0 commit comments

Comments
 (0)