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: docs/integrations/microsoft-azure/azure-database-for-mysql.md
+14-92Lines changed: 14 additions & 92 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,105 +30,15 @@ Azure service sends monitoring data to Azure Monitor, which can then [stream dat
30
30
31
31
* 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/).
32
32
* Activity 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/). It is recommended to create a separate source for activity logs. If you are already collecting these logs, you can skip this step.
33
-
* Metrics collection using our [HTTP Logs and Metrics source](/docs/send-data/collect-from-other-data-sources/azure-monitoring/collect-metrics-azure-monitor/) via Azure Functions deployed using the ARM template.
33
+
* Metrics collection using our [Azure Metrics Source](/docs/send-data/hosted-collectors/microsoft-source/azure-metrics-source).
34
34
35
35
You must explicitly enable diagnostic settings for each Azure Database for MySQL server 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).
36
36
37
37
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/DatabaseForMySQL/Logs`, `Azure/DatabaseForMySQL/Metrics`.
38
38
39
-
### Configure field in field schema
40
-
41
-
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**.
42
-
2. Search for the following fields:
43
-
-`tenant_name`. This field is tagged at the collector level. You can get the tenant name using the instructions in the [Microsoft Documentation](https://learn.microsoft.com/en-us/azure/active-directory-b2c/tenant-management-read-tenant-name#get-your-tenant-name).
44
-
-`location`. The region to which the resource name belongs to.
45
-
-`subscription_id`. ID associated with a subscription where the resource is present.
46
-
-`resource_group`. The resource group name where the Azure resource is present.
47
-
-`provider_name`. Azure resource provider name (for example, Microsoft.Network).
48
-
-`resource_type`. Azure resource type (for example, storage accounts).
49
-
-`resource_name`. The name of the resource (for example, storage account name).
50
-
-`service_type`. Type of the service that can be accessed with a Azure resource.
51
-
-`service_name`. Services that can be accessed with an Azure resource (for example, Azure SQL databases in Azure SQL Server).
52
-
3. Create the fields if they are not present. Refer to [Manage fields](/docs/manage/fields/#manage-fields).
53
-
54
-
### Configure Field Extraction Rules
55
-
56
-
Create the following Field Extraction Rules (FER) for Azure Storage by following the instructions in the [Create a Field Extraction Rule](/docs/manage/field-extractions/create-field-extraction-rule/).
In this section, you will configure a pipeline for shipping metrics from Azure Monitor to an Event Hub, onto an Azure Function, and finally to an HTTP Source on a hosted collector in Sumo Logic.
122
-
123
-
1. Create a hosted collector and tag the `tenant_name` field. <br/><img src={useBaseUrl('img/integrations/microsoft-azure/Azure-Storage-Tag-Tenant-Name.png')} alt="Azure Tag Tenant Name" style={{border: '1px solid gray'}} width="500" />
124
-
2. [Configure an HTTP Source](/docs/send-data/collect-from-other-data-sources/azure-monitoring/collect-metrics-azure-monitor/#step-1-configure-an-http-source).
125
-
1. [Configure and deploy the ARM Template](/docs/send-data/collect-from-other-data-sources/azure-monitoring/collect-metrics-azure-monitor/#step-2-configure-azure-resources-using-arm-template).
126
-
1. [Export metrics to Event Hub](/docs/send-data/collect-from-other-data-sources/azure-monitoring/collect-metrics-azure-monitor/#step-3-export-metrics-for-a-particular-resource-to-event-hub). Perform the steps below for each Flexible Mysql Server resource that you want to monitor.
127
-
1. Choose `Stream to an event hub` as the destination.
128
-
1. Select `AllMetrics`.
129
-
1. Use the Event hub namespace created by the ARM template in Step 2 above. You can create a new Event hub or use the one created by the ARM template. You can use the default policy `RootManageSharedAccessKey` as the policy name. <br/><img src={useBaseUrl('img/send-data/azureflexible-mysqlserver-metrics.png')} alt="Azure flexible mysql server metrics" style={{border: '1px solid gray'}} width="800" />
130
-
4. Tag the location field in the source with the right location value.
131
-
<img src={useBaseUrl('img/integrations/microsoft-azure/Azure-Storage-Tag-Location.png')} alt="Azure Database for MySql Tag Location" style={{border: '1px solid gray'}} width="500" />
41
+
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).
132
42
133
43
### Configure logs collection
134
44
@@ -173,6 +83,18 @@ import AppInstallNoDataSourceV2 from '../../reuse/apps/app-install-index-apps-v2
173
83
174
84
<AppInstallNoDataSourceV2/>
175
85
86
+
As part of the app installation process, the following fields will be created by default:
87
+
88
+
-`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).
89
+
-`location`. The region to which the resource name belongs to.
90
+
-`subscription_id`. ID associated with a subscription where the resource is present.
91
+
-`resource_group`. The resource group name where the Azure resource is present.
92
+
-`provider_name`. Azure resource provider name (for example, Microsoft.Network).
93
+
-`resource_type`. Azure resource type (for example, storage accounts).
94
+
-`resource_name`. The name of the resource (for example, storage account name).
95
+
-`service_type`. Type of the service that can be accessed with a Azure resource.
96
+
-`service_name`. Services that can be accessed with an Azure resource (for example, in Azure Container Instances the service is Subscriptions).
97
+
176
98
## Viewing the Flexible Database for Mysql dashboards
177
99
178
100
import ViewDashboards from '../../reuse/apps/view-dashboards.md';
0 commit comments