You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-stack/hci/manage/collect-logs.md
+37-39Lines changed: 37 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.author: alkohli
6
6
ms.topic: how-to
7
7
ms.service: azure-stack
8
8
ms.subservice: azure-stack-hci
9
-
ms.date: 06/18/2024
9
+
ms.date: 06/27/2024
10
10
---
11
11
12
12
# Collect diagnostic logs for Azure Stack HCI
@@ -25,7 +25,7 @@ Here are the scenarios in which you can perform on-demand log collection:
25
25
26
26
- Microsoft Support requests for logs based on an open case.
27
27
- Logs are collected when a cluster is connected and registered.
28
-
- Logs are collected when the Observability components are operational and installed.
28
+
- Logs are collected when the observability components are operational and installed.
29
29
- Logs are collected when a cluster is only partly registered.
30
30
- Logs are collected for issues not related to registration failures.
31
31
@@ -45,35 +45,33 @@ You can perform on-demand log collection using any of the following methods:
45
45
46
46
-**(Recommended) Azure portal**. Use this method when you want to collect and send logs at the cluster level.
47
47
48
-
-**PowerShell**. Use this method if you want to collect logs based on specific parameters. You can save them to an SMB share, send supplementary logs, or send logs for specific rules only. To collect logs and send them to Microsoft, run the `Send-DiagnosticData` cmdlet from any node within the Azure Stack HCI cluster. When you run this cmdlet, the logs are temporarily copied locally. This copy is parsed, sent to Microsoft, and then deleted from your system.
48
+
-**PowerShell**. Use this method if you want to collect logs based on specific parameters. You have the option to save logs to an SMB share, send supplementary logs, or send logs for specific rules only.
Follow these steps to collect diagnostic logs for your Azure Stack HCI cluster via the Azure portal:
53
53
54
-
1. the Azure portal, go to the Azure Stack HCI cluster resource.
54
+
1.In the Azure portal, go to the Azure Stack HCI cluster resource.
55
55
1. In the left pane, under **Settings**, select **Diagnostics and Remote Support**.
56
56
1. On the **Get started** tab, under the **Send Diagnostics Logs** tile, select **Go to diagnostics**.
57
57
58
58
:::image type="content" source="./media/collect-logs/get-started-tab.png" alt-text="Screenshot shows the Get started tab." lightbox="./media/collect-logs/get-started-tab.png" :::
59
59
60
-
1. On the **Diagnostics** tab, under **Log activity**, review the log collection entries for your cluster. If you want more details about a specific log collection entry, select the link under **Time collected** to view more details in the **Log details** pane.
60
+
1. On the **Diagnostics** tab, under **Log activity**, review log collection history for your cluster. To get more details about a specific log collection entry, select the link under **Time collected** to view more information in the **Log details** pane.
1. On the **Send logs** pane on the right, select the **Log start time** and **Log end time**.
69
-
70
-
1. Select the **Collect and upload logs** button. By selecting this, you agree to the terms and conditions of collection logs.
68
+
1. On the **Send logs** pane on the right, select the **Log start time** and **Log end time**, and then select the **Collect and upload logs** button. By doing this, you agree to the terms and conditions of collection logs.
Run the `Send-DiagnosticData` cmdlet from any node on your Azure Stack HCI clusterto perform on-demand log collection.
74
+
To collect logs and send them to Microsoft using PowerShell, run the `Send-DiagnosticData` cmdlet from any node within the Azure Stack HCI cluster. When you run this cmdlet, the logs are temporarily copied locally. This copy is parsed, sent to Microsoft, and then deleted from your system.
77
75
78
76
Here are some important points to consider:
79
77
@@ -221,34 +219,11 @@ Follow these steps to save logs to a local share:
221
219
Send-DiagnosticData -SaveToPath <path to share> -ShareCredential $shareCredential
222
220
```
223
221
224
-
If you have outbound connectivity from the SMB share where you saved the logs, you can run the following command to send the logs to Microsoft:
If you encounter an issue and need help from Microsoft Support, they might ask for specific information to locate your logs.
233
-
234
-
You can obtain this information from either the output of the `Send-DiagnosticData` cmdlet or directly from the problematic page in the Azure portal.
235
-
236
-
### Provide information from the `Send-DiagnosticData` output
237
-
238
-
When you use `Send-DiagnosticData` to collect logs, it also provides key details in its output that you need to share with Microsoft Support. After you collect logs, they're sent to the Kusto database. Microsoft Support can then use the information provided to locate your logs in Kusto and help you in resolving the reported issue.
222
+
If you have outbound connectivity from the SMB share where you saved the logs, you can run the following command to send the logs to Microsoft:
239
223
240
-
When requested, share the following information with Microsoft Support. Get this information from the `Send-DiagnosticData` output.
241
-
242
-
-`AEORegion`: The location where your device is registered.
243
-
-`AEODeviceARMResourceUri`: A unique identifier to locate the resource, for example: `/subscriptions/<subscription GUID>/resourceGroups/<Name of Resource group>/providers/Microsoft.AzureStackHCI/clusters/<Name of Cluster>`.
244
-
-`AEOClusterNodeArcResourceUri`: A unique identifier to locate the ARC resource, for example: `/subscriptions/<subscription GUID>/resourceGroups/<Name of Resource group>/providers/Microsoft.HybridCompute/Machines/<machine name>`.
245
-
-`CorrelationId`: A unique identifier to locate the logs.
246
-
247
-
### Provide information from the Azure portal page where issue occurs
248
-
249
-
On the problematic page in the Azure portal, press CTRL+ALT+A to download a diagnostic file with the following information: session ID and the URL. In most cases, this information is sufficient to get Microsoft Support started on troubleshooting.
250
-
251
-
If you're on any of the Azure Stack HCI blades where you're experiencing issues, the current URI has the resource ID needed to debug the service.
@@ -608,8 +583,8 @@ The following roles are available for filtering by the **FilterByRole** paramete
608
583
| HostNetwork | Logs used to troubleshoot Network ATC, the underlying operating system component used to configure host networking. |
609
584
| MOC_ARB | Management stack that enables cloud-based management of virtual machines on Azure Stack HCI and Windows Server. |
610
585
| NC | Information related to the network infrastructure. |
611
-
| ObservabilityLogmanTraces | Collects logs for Observability traces. These logs help with troubleshooting issues with sending diagnostic data. |
612
-
| ObservabilityVolume | Collects logs for Observability volume. |
586
+
| ObservabilityLogmanTraces | Collects logs for the observability traces. These logs help with troubleshooting issues with sending diagnostic data. |
587
+
| ObservabilityVolume | Collects logs for the observability volume. |
613
588
| OEMDiagnostics | Collects logs for OEM diagnostics, which can help to identify and resolve issues with your server hardware, such as BIOS, drivers, sensors, and more. |
614
589
| OSUpdateLogs | Role that collects logs related to operating system updates on Azure Stack HCI nodes, useful for troubleshooting update-related issues. |
615
590
| RemoteSupportAgent | Logs that help troubleshoot issues with remote support sessions, which are used to address customer support cases. |
@@ -618,6 +593,29 @@ The following roles are available for filtering by the **FilterByRole** paramete
618
593
619
594
---
620
595
596
+
## Provide required information in a support case
597
+
598
+
If you encounter an issue and need help from Microsoft Support, they might ask for specific information to locate your logs.
599
+
600
+
You can obtain this information directly from the problematic page in the Azure portal or from the output of the `Send-DiagnosticData` cmdlet.
601
+
602
+
### Provide information from the Azure portal page where issue occurs
603
+
604
+
On the problematic page in the Azure portal, press CTRL+ALT+A to download a diagnostic file with the following information: session ID and the URL. In most cases, this information is sufficient to get Microsoft Support started on troubleshooting.
605
+
606
+
If you're on any of the Azure Stack HCI blades where you're experiencing issues, the current URI has the resource ID needed to debug the service.
607
+
608
+
### Provide information from the `Send-DiagnosticData` output
609
+
610
+
When you use `Send-DiagnosticData` to collect logs, it also provides key details in its output that you need to share with Microsoft Support. After you collect logs, they're sent to the Kusto database. Microsoft Support can then use the information provided to locate your logs in Kusto and help you in resolving the reported issue.
611
+
612
+
When requested, share the following information with Microsoft Support. Get this information from the `Send-DiagnosticData` output.
613
+
614
+
-`AEORegion`: The location where your device is registered.
615
+
-`AEODeviceARMResourceUri`: A unique identifier to locate the resource, for example: `/subscriptions/<subscription GUID>/resourceGroups/<Name of Resource group>/providers/Microsoft.AzureStackHCI/clusters/<Name of Cluster>`.
616
+
-`AEOClusterNodeArcResourceUri`: A unique identifier to locate the ARC resource, for example: `/subscriptions/<subscription GUID>/resourceGroups/<Name of Resource group>/providers/Microsoft.HybridCompute/Machines/<machine name>`.
617
+
-`CorrelationId`: A unique identifier to locate the logs.
0 commit comments