Skip to content

Commit 26e423a

Browse files
committed
Update azure-virtual-machine.md
1 parent c89dd74 commit 26e423a

File tree

1 file changed

+14
-40
lines changed

1 file changed

+14
-40
lines changed

docs/integrations/microsoft-azure/azure-virtual-machine.md

Lines changed: 14 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -24,53 +24,15 @@ For Azure Virtual Machine, you can collect the following logs and metrics:
2424
Azure service sends monitoring data to Azure Monitor, which can then [stream data to Eventhub](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/stream-monitoring-data-event-hubs). Sumo Logic supports:
2525

2626
* Logs collection from [Azure Monitor](https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-get-started) using our [Azure Event Hubs source](/docs/send-data/collect-from-other-data-sources/azure-monitoring/ms-azure-event-hubs-source/).
27+
* Metrics collection using our [Azure Metrics Source](/docs/send-data/hosted-collectors/microsoft-source/azure-metrics-source).
2728

2829
You must explicitly enable diagnostic settings for each Virtual Machine you want to monitor. You can forward logs to the same event hub provided they satisfy the limitations and permissions as described [here](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings?tabs=portal#destination-limitations).
2930

3031
When you configure the event hubs source or HTTP source, plan your source category to ease the querying process. A hierarchical approach allows you to make use of wildcards. For example: `Azure/VM/ActivityLogs`, `Azure/VM/Metrics`.
3132

32-
### Configure field in field schema
33-
34-
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Manage Data > Logs > Fields**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the top menu select **Configuration**, and then under **Logs** select **Fields**. You can also click the **Go To...** menu at the top of the screen and select **Fields**.
35-
1. Search for the following fields:
36-
- `tenant_name`. This field is tagged at the collector level. You can get the tenant name using the instructions [here](https://learn.microsoft.com/en-us/azure/active-directory-b2c/tenant-management-read-tenant-name#get-your-tenant-name).
37-
- `location`. The region to which the resource name belongs to.
38-
- `subscription_id`. ID associated with a subscription where the resource is present.
39-
- `resource_group`. The resource group name where the Azure resource is present.
40-
- `provider_name`. Azure resource provider name (for example, Microsoft.Network).
41-
- `resource_type`. Azure resource type (for example, storage accounts).
42-
- `resource_name`. The name of the resource (for example, storage account name).
43-
- `service_type`. Type of the service that can be accessed with a Azure resource.
44-
- `service_name`. Services that can be accessed with an Azure resource (for example, in Azure Container Instances service is Subscriptions).
45-
1. Create the fields if they are not present. Refer to [Manage fields](/docs/manage/fields/#manage-fields).
46-
47-
### Configure metric rules
48-
49-
* **Azure Observability Metadata Extraction VMName**
50-
51-
In case this rule already exists, then no need to create it again.
52-
53-
```sql
54-
Rule Name: AzureObservabilityMetadataExtractionVMName
55-
```
56-
57-
```sql title="Metric match expression"
58-
tenant_name=* namespace=Microsoft.Compute/virtualMachines resource_name=*
59-
```
60-
61-
| Fields extracted | Metric rule |
62-
|:--|:--|
63-
| `vmname` | `$resource_name._1` |
64-
6533
### Configure metrics collection
6634

67-
:::note
68-
The Sumo Logic metrics source for Azure is currently in Beta. To participate, contact your Sumo Logic account executive.
69-
:::
70-
71-
1. To set up the Azure Metrics source in Sumo Logic, refer to the shared beta documentation.
72-
1. In the Sumo Logic Azure Metrics source configuration, configure namespaces as `Microsoft.Compute/virtualMachines` and `Microsoft.Compute/virtualMachineScaleSets`.
73-
<img src={useBaseUrl('img/integrations/microsoft-azure/azure-virtual-machine-namespaces.png')} alt="Azure Virtual Machine Namespaces" style={{border: '1px solid gray'}} width="500" />
35+
To set up the Azure Metrics source in Sumo Logic, refer to [Azure Metrics Source](/docs/send-data/hosted-collectors/microsoft-source/azure-metrics-source).
7436

7537
### Configure logs collection
7638

@@ -99,6 +61,18 @@ import AppInstallNoDataSourceV2 from '../../reuse/apps/app-install-index-apps-v2
9961

10062
<AppInstallNoDataSourceV2/>
10163

64+
As part of the app installation process, the following fields will be created by default:
65+
66+
- `tenant_name`. This field is tagged at the collector level. You can get the tenant name using the instructions [here](https://learn.microsoft.com/en-us/azure/active-directory-b2c/tenant-management-read-tenant-name#get-your-tenant-name).
67+
- `location`. The region to which the resource name belongs to.
68+
- `subscription_id`. ID associated with a subscription where the resource is present.
69+
- `resource_group`. The resource group name where the Azure resource is present.
70+
- `provider_name`. Azure resource provider name (for example, Microsoft.Network).
71+
- `resource_type`. Azure resource type (for example, storage accounts).
72+
- `resource_name`. The name of the resource (for example, storage account name).
73+
- `service_type`. Type of the service that can be accessed with a Azure resource.
74+
- `service_name`. Services that can be accessed with an Azure resource (for example, in Azure Container Instances the service is Subscriptions).
75+
10276
## Viewing the Azure Virtual Machine dashboards
10377

10478
import ViewDashboards from '../../reuse/apps/view-dashboards.md';

0 commit comments

Comments
 (0)