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
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ ms.date: 06/27/2024
15
15
16
16
This article describes how to collect diagnostic logs for Azure Stack HCI and send them to Microsoft via the Azure portal or PowerShell. These diagnostic logs help identify and fix any issues with your Azure Stack HCI solution.
17
17
18
-
## On-demand log collection
18
+
## About on-demand log collection
19
19
20
20
On-demand log collection involves manually collecting and sending diagnostic logs to Microsoft. 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. Microsoft retains this diagnostic data for up to 30 days and handles it as per the [standard privacy practices](https://privacy.microsoft.com/).
21
21
@@ -43,7 +43,7 @@ Before you collect on-demand logs, you must complete the following prerequisites
43
43
44
44
You can perform on-demand log collection using any of the following methods:
45
45
46
-
-**(Recommended) Azure portal**. Use this method when you want to collect and send logs at the cluster level.
46
+
-**(Recommended) The Azure portal**. Use this method when you want to collect and send logs at the cluster level.
47
47
48
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.
49
49
@@ -73,7 +73,7 @@ Follow these steps to collect diagnostic logs for your Azure Stack HCI cluster v
73
73
74
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.
75
75
76
-
Here are some important points to consider:
76
+
Here are some important points to consider when collecting logs using PowerShell:
77
77
78
78
- The completion time of the `Send-DiagnosticData` cmdlet varies depending on factors, such as the roles for which logs are being collected, time duration specified, and the number of nodes in your Azure Stack HCI environment.
79
79
- If you don't specify any parameters, the `Send-DiagnosticData` cmdlet collects data from all nodes for the previous one-hour duration.
@@ -599,13 +599,13 @@ If you encounter an issue and need help from Microsoft Support, they might ask f
599
599
600
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
601
602
-
### Provide information from the Azure portal page where issue occurs
602
+
### [Azure portal](#tab/azureportal)
603
603
604
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
605
606
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
607
608
-
### Provide information from the `Send-DiagnosticData` output
608
+
### [PowerShell](#tab/powershell)
609
609
610
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
611
@@ -616,6 +616,8 @@ When requested, share the following information with Microsoft Support. Get this
616
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
617
-`CorrelationId`: A unique identifier to locate the logs.
0 commit comments