Skip to content

Commit 17125ac

Browse files
authored
Merge pull request #220745 from rvandenbedem/patch-38
Update configure-vmware-syslogs.md
2 parents 441b6ae + 231a00d commit 17125ac

File tree

5 files changed

+81
-100
lines changed

5 files changed

+81
-100
lines changed

.openpublishing.publish.config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,7 @@
978978
"articles/cognitive-services/.openpublishing.redirection.cognitive-services.json",
979979
".openpublishing.redirection.baremetal-infrastructure.json",
980980
"articles/iot-dps/.openpublishing.redirection.iot-dps.json",
981-
"articles/cloud-shell/.openpublishing.redirection.cloud-shell.json"
981+
"articles/cloud-shell/.openpublishing.redirection.cloud-shell.json",
982+
".openpublishing.redirection.azure-vmware.json"
982983
]
983984
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"redirections": [
3+
{
4+
"source_path_from_root": "/articles/azure-vmware/send-logs-to-log-analytics.md",
5+
"redirect_url": "/azure/azure-vmware/configure-vmware-syslogs",
6+
"redirect_document_id": false
7+
}
8+
]
9+
}

articles/azure-vmware/configure-vmware-syslogs.md

Lines changed: 70 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Configure VMware syslogs for Azure VMware Solution
33
description: Learn how to configure diagnostic settings to collect VMware syslogs for your Azure VMware Solution private cloud.
44
ms.topic: how-to
55
ms.service: azure-vmware
6-
ms.date: 10/07/2022
6+
ms.date: 12/07/2022
77

88
#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.
99

@@ -22,7 +22,6 @@ In this article, you'll configure a diagnostic setting to collect VMware syslogs
2222
>- ESXi logs
2323
>- vCenter Server logs
2424
>- NSX-T Data Center Edge Appliance logs
25-
2625
2726
## Prerequisites
2827

@@ -31,37 +30,88 @@ Make sure you have an Azure VMware Solution private cloud with access to the vCe
3130
## Configure diagnostic settings
3231

3332
1. From your Azure VMware Solution private cloud, select **Diagnostic settings**, then **Add diagnostic settings**.
34-
35-
:::image type="content" source="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-1.png" alt-text="Screenshot showing where to configure VMware syslogs." lightbox="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-1.png":::
33+
34+
:::image type="content" source="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-1.png" alt-text="Screenshot showing where to configure VMware syslogs.":::
3635

3736

3837
1. Select the **vmwaresyslog**, **All metrics**, and select one of the following options presented.
3938

40-
>[!IMPORTANT]
41-
>The **Send to log analytics workspace** option is currently unavailable.
42-
43-
### Archive to storage account
39+
### Send to Log Analytics workspace
4440

45-
1. In **Diagnostic setting**, select the storage account where you want to store the logs and select **Save**.
41+
#### How to set up Log Analytics
4642

47-
:::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." lightbox="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-2.png":::
43+
A Log Analytics workspace:
4844

49-
1. Go to your **Storage accounts**, verify **Insight logs vmwarelog** has been created, select it.
50-
51-
:::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." lightbox="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-3.png":::
45+
* Contains your AVS private cloud logs.
5246

47+
* Is the workspace from which you can take desired actions, such as querying for logs.
5348

54-
1. Browse **Insight logs vmwarelog** to locate and download the json file to view the logs.
49+
In this section, you’ll:
5550

56-
:::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." lightbox="media/diagnostic-settings/diagnostic-settings-log-analytics-workspace-4.png":::
51+
* Configure a Log Analytics workspace
5752

58-
### Stream to Microsoft Azure Event Hubs
53+
* Create a diagnostic setting in your private cloud to send your logs to this workspace
5954

60-
1. In **Diagnostic setting**, under Destination details, select **Stream to an Event Hub**.
61-
1. From the **Event Hub namespace** drop-down menu, choose where you want to send the logs, select, and **Save**.
62-
63-
:::image type="content" source="media/diagnostic-settings/stream-event-hub.png" alt-text="Screenshot showing the drill-down path to send the logs." lightbox="media/diagnostic-settings/stream-event-hub.png":::
55+
#### Create a resource
56+
57+
1. In the Azure portal, go to **Create a resource**.
58+
2. Search for “Log Analytics Workspace” and click **Create** -> **Log Analytics Workspace**.
59+
60+
:::image type="content" source="media/send-logs-to-log-analytics/marketplace.png" alt-text="Screenshot of Create a resource.":::
61+
62+
#### Set up your workspace
63+
64+
1. Enter the Subscription you intend to use, the Resource Group that’ll house this workspace. Give it a name and select a region.
65+
2. Click **Review** + **Create**.
66+
67+
:::image type="content" source="media/send-logs-to-log-analytics/create-workspace.png" alt-text="Screenshot of Marketplace.":::
68+
69+
#### Add a diagnostic setting
70+
71+
Next, we add a diagnostic setting in your AVS private cloud, so it knows where to send your logs to.
72+
73+
:::image type="content" source="media/send-logs-to-log-analytics/private-cloud.png" alt-text="Screenshot of vh-private-cloud.":::
6474

75+
1. Click your AVS private cloud.
76+
Go to Diagnostic settings on the left-hand menu under Monitoring.
77+
Select **Add diagnostic setting**.
78+
2. Give your diagnostic setting a name.
79+
Select the log categories you are interested in sending to your Log Analytics workspace.
6580

81+
3. Make sure to select the checkbox next to **Send to Log Analytics workspace**.
82+
Select the Subscription your Log Analytics workspace lives in and the Log Analytics workspace.
83+
Click **Save** on the top left.
6684

85+
:::image type="content" source="media/send-logs-to-log-analytics/diagnostic-setting.png" alt-text="Screenshot of Diagnostics settings.":::
6786

87+
At this point, your Log Analytics workspace has been successfully configured to receive logs from your AVS private cloud.
88+
89+
#### Search and analyze logs using Kusto
90+
91+
Now that you’ve successfully configured your logs to go to your Log Analytics workspace, you can use that data to gain meaningful insights with Log Analytics’ search feature.
92+
Log Analytics uses a language called the Kusto Query Language (or Kusto) to search through your logs.
93+
94+
For more information, see
95+
[Data analysis in Azure Data Explorer with Kusto Query Language](/training/paths/data-analysis-data-explorer-kusto-query-language/).
96+
97+
### Archive to storage account
98+
99+
1. In **Diagnostic setting**, select the storage account where you want to store the logs and select **Save**.
100+
101+
:::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+
103+
2. Go to your **Storage accounts**, verify **Insight logs vmwarelog** has been created, select it.
104+
105+
:::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+
107+
108+
3. Browse **Insight logs vmwarelog** to locate and download the json file to view the logs.
109+
110+
:::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+
112+
### Stream to Microsoft Azure Event Hubs
113+
114+
1. In **Diagnostic setting**, under Destination details, select **Stream to an Event Hub**.
115+
2. From the **Event Hub namespace** drop-down menu, choose where you want to send the logs, select, and **Save**.
116+
117+
:::image type="content" source="media/diagnostic-settings/stream-event-hub.png" alt-text="Screenshot showing the drill-down path to send the logs.":::

articles/azure-vmware/send-logs-to-log-analytics.md

Lines changed: 0 additions & 75 deletions
This file was deleted.

articles/azure-vmware/toc.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,6 @@
182182
href: rotate-cloudadmin-credentials.md
183183
- name: Save costs with a reserved instance
184184
href: reserved-instance.md
185-
- name: Send logs to log analytics
186-
href: send-logs-to-log-analytics.md
187185
- name: Partner solution ecosystem
188186
items:
189187
- name: Operating system support for VMs
@@ -200,8 +198,6 @@
200198
href: ecosystem-app-monitoring-solutions.md
201199
- name: Bitnami appliance deployment
202200
href: bitnami-appliances-deployment.md
203-
- name: Send logs to Log Analytics
204-
href: send-logs-to-log-analytics.md
205201
- name: VMware solutions
206202
items:
207203
- name: Configure HCX network extension

0 commit comments

Comments
 (0)