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
description: Learn how to configure diagnostic settings to collect VMware syslogs for your Azure VMware Solution private cloud.
4
4
ms.topic: how-to
5
5
ms.service: azure-vmware
6
-
ms.date: 12/07/2023
6
+
ms.date: 6/7/2024
7
7
ms.custom: engagement-fy23
8
8
9
9
#Customer intent: As an Azure service administrator, I want to collect VMware syslogs and store it in my storage account so that I can view the vCenter Server logs and analyze for any diagnostic purposes.
@@ -20,21 +20,20 @@ In this article, learn how to configure a diagnostic setting to collect VMware s
20
20
>- vCenter Server logs
21
21
>- ESXi logs
22
22
>- vSAN logs
23
-
>- NSX-T Manager logs
24
-
>- NSX-T Data Center Distributed Firewall logs
25
-
>- NSX-T Data Center Gateway Firewall logs
26
-
>- NSX-T Data Center Edge Appliance logs
23
+
>- NSX Manager logs
24
+
>- NSX Distributed Firewall logs
25
+
>- NSX Gateway Firewall logs
26
+
>- NSX Edge Appliance logs
27
27
28
28
## Prerequisites
29
29
30
-
Make sure you have an Azure VMware Solution private cloud with access to the vCenter Server and NSX-T Manager interfaces.
30
+
Make sure you have an Azure VMware Solution private cloud with access to the vCenter Server and NSX Manager interfaces.
31
31
32
32
## Configure diagnostic settings
33
33
34
34
1. From your Azure VMware Solution private cloud, select **Diagnostic settings**, then **Add diagnostic settings**.
35
35
36
-
:::image type="content" source="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-1.png" alt-text="Screenshot showing where to configure VMware syslogs.":::
37
-
36
+
:::image type="content" source="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-1.png" alt-text="Screenshot showing where to configure VMware syslogs." border="false" lightbox="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-1.png":::
38
37
39
38
1. Select the **vmwaresyslog**, **All metrics**, and select one of the following options presented.
40
39
@@ -59,20 +58,20 @@ In this section, you’ll:
59
58
1. In the Azure portal, go to **Create a resource**.
60
59
2. Search for “Log Analytics Workspace” and select **Create** -> **Log Analytics Workspace**.
61
60
62
-
:::image type="content" source="media/send-logs-to-log-analytics/marketplace.png" alt-text="Screenshot of Create a resource.":::
61
+
:::image type="content" source="media/send-logs-to-log-analytics/marketplace.png" alt-text="Screenshot of Create a resource." border="false" lightbox="media/send-logs-to-log-analytics/marketplace.png":::
63
62
64
63
#### Set up your workspace
65
64
66
65
1. Enter the Subscription you intend to use, the Resource Group chosen to house this workspace. Give it a name and select a region.
67
66
2. Select **Review** + **Create**.
68
67
69
-
:::image type="content" source="media/send-logs-to-log-analytics/create-workspace.png" alt-text="Screenshot of Marketplace.":::
68
+
:::image type="content" source="media/send-logs-to-log-analytics/create-workspace.png" alt-text="Screenshot of Marketplace." border="false" lightbox="media/send-logs-to-log-analytics/create-workspace.png":::
70
69
71
70
#### Add a diagnostic setting
72
71
73
72
Next, we add a diagnostic setting in your Azure VMware Solution private cloud, so it knows where to send your logs to.
74
73
75
-
:::image type="content" source="media/send-logs-to-log-analytics/private-cloud.png" alt-text="Screenshot of vh-private-cloud.":::
74
+
:::image type="content" source="media/send-logs-to-log-analytics/private-cloud.png" alt-text="Screenshot of vh-private-cloud." border="false" lightbox="media/send-logs-to-log-analytics/private-cloud.png":::
76
75
77
76
1. Select your Azure VMware Solution private cloud.
78
77
Go to Diagnostic settings on the left-hand menu under Monitoring.
@@ -84,7 +83,7 @@ Select the log categories you're interested in sending to your Log Analytics wor
84
83
Select the Subscription your Log Analytics workspace lives in and the Log Analytics workspace.
85
84
Select **Save** on the top left.
86
85
87
-
:::image type="content" source="media/send-logs-to-log-analytics/diagnostic-setting.png" alt-text="Screenshot of Diagnostics settings.":::
86
+
:::image type="content" source="media/send-logs-to-log-analytics/diagnostic-setting.png" alt-text="Screenshot of Diagnostics settings." border="false" lightbox="media/send-logs-to-log-analytics/diagnostic-setting.png":::
88
87
89
88
At this point, your Log Analytics workspace is now successfully configured to receive logs from your Azure VMware Solution private cloud.
90
89
@@ -100,20 +99,20 @@ For more information, see
100
99
101
100
1. In **Diagnostic setting**, select the storage account where you want to store the logs and select **Save**.
102
101
103
-
:::image type="content" source="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-2.png" alt-text="Screenshot showing the options to select for storing the syslogs.":::
102
+
:::image type="content" source="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-2.png" alt-text="Screenshot showing the options to select for storing the syslogs." border="false" lightbox="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-2.png":::
104
103
105
104
2. Go to your **Storage accounts**, verify **Insight logs vmwarelog** was created, and select it.
106
105
107
-
:::image type="content" source="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-3.png" alt-text="Screenshot showing the Insight logs vmwarelog option created and available.":::
106
+
:::image type="content" source="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-3.png" alt-text="Screenshot showing the Insight logs vmwarelog option created and available." border="false" lightbox="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-3.png":::
108
107
109
108
110
109
3. Browse **Insight logs vmwarelog** to locate and download the json file to view the logs.
111
110
112
-
:::image type="content" source="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-4.png" alt-text="Screenshot showing the drill-down path to the json file.":::
111
+
:::image type="content" source="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-4.png" alt-text="Screenshot showing the drill-down path to the json file." border="false" lightbox="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-4.png":::
113
112
114
113
### Stream to Microsoft Azure Event Hubs
115
114
116
115
1. In **Diagnostic setting**, under Destination details, select **Stream to an Event Hub**.
117
116
2. From the **Event Hub namespace** drop-down menu, choose where you want to send the logs, select, and **Save**.
118
117
119
-
:::image type="content" source="media/diagnostic-settings/stream-event-hub.png" alt-text="Screenshot showing the drill-down path to send the logs.":::
118
+
:::image type="content" source="media/diagnostic-settings/stream-event-hub.png" alt-text="Screenshot showing the drill-down path to send the logs." border="false" lightbox="media/diagnostic-settings/stream-event-hub.png":::
0 commit comments