Skip to content

Commit cb64e43

Browse files
authored
Update dates and remove code formatting
1 parent 3fcb845 commit cb64e43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ title: Get on-demand logs for troubleshooting
33
description: Learn how to get full on-demand logs in AKS enabled by Arc and send them to Microsoft.
44
author: sethmanheim
55
ms.topic: how-to
6-
ms.date: 01/17/2024
6+
ms.date: 04/08/2025
77
ms.author: sethm
8-
ms.lastreviewed: 1/14/2024
8+
ms.lastreviewed: 04/08/2025
99
ms.reviewer: guanghu
1010

1111
# Intent: As an IT Pro, I need to learn how to obtain full on-demand logs in order to troubleshoot problems with my Azure Kubernetes Service in AKS enabled by Arc.
@@ -25,7 +25,7 @@ Before log collection, you must have the SSH key you obtained when you created t
2525

2626
## Collect logs
2727

28-
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#az-aksarc-get-logs). You can also use the [`Get-AzAksArcLog`](/powershell/module/az.aksarc/get-azaksarclog) PowerShell command to collect logs. For more information, [see the PowerShell reference](/powershell/module/az.aksarc/get-azaksarclog).
28+
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#az-aksarc-get-logs). You can also use the [Get-AzAksArcLog](/powershell/module/az.aksarc/get-azaksarclog) PowerShell command to collect logs. For more information, [see the PowerShell reference](/powershell/module/az.aksarc/get-azaksarclog).
2929

3030
```azurecli
3131
az aksarc get-logs --ip 192.168.200.25 --credentials-dir ./.ssh --out-dir ./logs

0 commit comments

Comments
 (0)