Skip to content

Commit bca8794

Browse files
authored
Merge pull request #217468 from ianwhytez/vmware-blog
Vmware blog
2 parents 65ab225 + e2f0ec4 commit bca8794

File tree

6 files changed

+79
-0
lines changed

6 files changed

+79
-0
lines changed
57.2 KB
Loading
54.2 KB
Loading
80.2 KB
Loading
54 KB
Loading
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
title: Send your Azure VMware Solution logs to Log Analytics
3+
description: Learn about sending logs to log analytics.
4+
ms.topic: how-to
5+
ms.service: azure-vmware
6+
ms.date: 11/15/2022
7+
---
8+
9+
# Send your Azure VMware Solution logs to Log Analytics
10+
11+
This article shows you how to send Azure VMware Solution logs to Azure Monitor Log Analytics. You can send logs from your AVS private cloud to your Log Analytics workspace, allowing you to take advantage of the Log Analytics feature set, including:
12+
13+
• Powerful querying capabilities with Kusto Query Language (KQL)
14+
15+
• Interactive report-creation capability based on your data, using Workbooks
16+
17+
...without having to get your logs out of the Microsoft ecosystem!
18+
19+
In the rest of this article, we’ll show you how easy it is to make this happen.
20+
21+
## How to set up Log Analytics
22+
23+
A Log Analytics workspace:
24+
25+
• Contains your AVS private cloud logs.
26+
27+
• Is the workspace from which you can take desired actions, such as querying for logs.
28+
29+
In this section, you’ll:
30+
31+
• Configure a Log Analytics workspace
32+
33+
• Create a diagnostic setting in your private cloud to send your logs to this workspace
34+
35+
### Create a resource
36+
37+
1. In the Azure portal, go to **Create a resource**.
38+
2. Search for “Log Analytics Workspace” and click **Create** -> **Log Analytics Workspace**.
39+
40+
:::image type="content" source="media/send-logs-to-log-analytics/marketplace.png" alt-text="Screenshot of Create a resource.":::
41+
42+
### Set up your workspace
43+
44+
1. Enter the Subscription you intend to use, the Resource Group that’ll house this workspace. Give it a name and select a region.
45+
1. Click **Review** + **Create**.
46+
47+
:::image type="content" source="media/send-logs-to-log-analytics/create-workspace.png" alt-text="Screenshot of Marketplace.":::
48+
49+
### Add a diagnostic setting
50+
51+
Next, we add a diagnostic setting in your AVS private cloud, so it knows where to send your logs to.
52+
53+
:::image type="content" source="media/send-logs-to-log-analytics/private-cloud.png" alt-text="Screenshot of vh-private-cloud.":::
54+
55+
1. Click your AVS private cloud.
56+
Go to Diagnostic settings on the left-hand menu under Monitoring.
57+
Select **Add diagnostic setting**.
58+
2. Give your diagnostic setting a name.
59+
Select the log categories you are interested in sending to your Log Analytics workspace.
60+
61+
3. Make sure to select the checkbox next to **Send to Log Analytics workspace**.
62+
Select the Subscription your Log Analytics workspace lives in and the Log Analytics workspace.
63+
Click **Save** on the top left.
64+
65+
:::image type="content" source="media/send-logs-to-log-analytics/diagnostic-setting.png" alt-text="Screenshot of Diagnostics settings.":::
66+
67+
At this point, your Log Analytics workspace has been successfully configured to receive logs from your AVS private cloud.
68+
69+
## Search and analyze logs using Kusto
70+
71+
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.
72+
Log Analytics uses a language called the Kusto Query Language (or Kusto) to search through your logs.
73+
74+
For more information, see
75+
[Data analysis in Azure Data Explorer with Kusto Query Language](/training/paths/data-analysis-data-explorer-kusto-query-language/).

articles/azure-vmware/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@
180180
href: rotate-cloudadmin-credentials.md
181181
- name: Save costs with a reserved instance
182182
href: reserved-instance.md
183+
- name: Send logs to log analytics
184+
href: send-logs-to-log-analytics.md
183185
- name: Partner solution ecosystem
184186
items:
185187
- name: Operating system support for VMs
@@ -196,6 +198,8 @@
196198
href: ecosystem-app-monitoring-solutions.md
197199
- name: Bitnami appliance deployment
198200
href: bitnami-appliances-deployment.md
201+
- name: Send logs to Log Analytics
202+
href: send-logs-to-log-analytics.md
199203
- name: VMware solutions
200204
items:
201205
- name: Configure HCX network extension

0 commit comments

Comments
 (0)