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
@@ -24,123 +24,16 @@ For Azure API Management, you can collect the following logs and metrics:
24
24
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:
25
25
26
26
* 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 [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.
27
+
* Metrics collection using our [Azure Metrics Source](/docs/send-data/hosted-collectors/microsoft-source/azure-metrics-source).
28
28
29
29
You must explicitly enable diagnostic settings for each Azure API Management service 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).
30
30
31
31
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/APIManagement/Logs`, `Azure/APIManagement/Metrics`.
32
32
33
-
### Configure field in field schema
34
-
35
-
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**.
36
-
1. Search for the following fields:
37
-
-`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).
38
-
-`location`. The region to which the resource name belongs to.
39
-
-`subscription_id`. ID associated with a subscription where the resource is present.
40
-
-`resource_group`. The resource group name where the Azure resource is present.
41
-
-`provider_name`. Azure resource provider name (for example, Microsoft.Network).
42
-
-`resource_type`. Azure resource type (for example, storage accounts).
43
-
-`resource_name`. The name of the resource (for example, storage account name).
44
-
-`service_type`. Type of the service that can be accessed with a Azure resource.
45
-
-`service_name`. Services that can be accessed with an Azure resource (for example, in Azure API Management service is Subscriptions).
46
-
1. Create the fields if they are not present. Refer to [Manage fields](/docs/manage/fields/#manage-fields).
47
-
48
-
### Configure field extraction rules
49
-
50
-
Create the following Field Extraction Rule(s) (FER) for Azure Storage by following the instructions in [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, on to an Azure Function, and finally to an HTTP Source on a hosted collector in Sumo Logic.
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).
135
36
136
-
1. Create a hosted collector and tag the `tenant_name` field. 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). <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" />
137
-
1. [Configure an HTTP Source](/docs/send-data/collect-from-other-data-sources/azure-monitoring/collect-metrics-azure-monitor/#step-1-configure-an-http-source).
138
-
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).
139
-
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 below steps for each Azure API Management that you want to monitor.
140
-
1. Choose `Stream to an event hub` as destination.
141
-
1. Select `AllMetrics`.
142
-
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 ARM template. You can use the default policy `RootManageSharedAccessKey` as the policy name. <br/><img src={useBaseUrl('img/send-data/azure-apimanagement-metrics.png')} alt="Azure API management metrics" style={{border: '1px solid gray'}} width="800" />
143
-
1. Tag the location field in the source with right location value. <br/><img src={useBaseUrl('img/integrations/microsoft-azure/Azure-Storage-Tag-Location.png')} alt="Azure API Management Tag Location" style={{border: '1px solid gray'}} width="400" />
144
37
145
38
:::note
146
39
In the v2 service tiers, API Management has replaced the capacity metric with separate CPU and memory utilization metrics
@@ -179,15 +72,27 @@ For Security events, make sure you enable [Microsoft Defender for Cloud](https:/
179
72
180
73
Now that you have set up data collection, install the Azure API Management Sumo Logic app to use the pre-configured dashboards that provide visibility into your environment for real-time analysis of overall usage.
181
74
182
-
import AppInstallNoDataSourceV2 from '../../reuse/apps/app-install-index-apps-v2.md';
75
+
import AppInstallIndexV2 from '../../reuse/apps/app-install-index-option.md';
183
76
184
-
<AppInstallNoDataSourceV2/>
77
+
<AppInstallIndexV2/>
78
+
79
+
As part of the app installation process, the following fields will be created by default:
80
+
81
+
-`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).
82
+
-`location`. The region the resource name belongs to.
83
+
-`subscription_id`. ID associated with a subscription where the resource is present.
84
+
-`resource_group`. The resource group name where the Azure resource is present.
85
+
-`provider_name`. Azure resource provider name (for example, Microsoft.Network).
86
+
-`resource_type`. Azure resource type (for example, storage accounts).
87
+
-`resource_name`. The name of the resource (for example, storage account name).
88
+
-`service_type`. The type of service that can be accessed with an Azure resource.
89
+
-`service_name`. Services that can be accessed with an Azure resource (for example, in Azure Container Instances, the service is Subscriptions).
185
90
186
91
## Viewing the Azure API Management dashboards
187
92
188
-
import ViewDashboards from '../../reuse/apps/view-dashboards.md';
93
+
import ViewDashboardsIndex from '../../reuse/apps/view-dashboards-index.md';
189
94
190
-
<ViewDashboards/>
95
+
<ViewDashboardsIndex/>
191
96
192
97
### Administrative Operations
193
98
@@ -231,6 +136,26 @@ The **Azure API Management - Subscriptions** dashboard provides details like Tot
|`Azure API Management - High Capacity Utilization`| This alert is triggered when average capacity utilization percentage greater than 80. Also, a warning type alert will be triggered when average capacity utilization percentage greater than 70. | Count > 80 | Count < = 80 |
153
+
|`Azure API Management - High Duration of Backend Requests`| This alert is triggered when average duration of backend requests greater than 2000ms. Also, a warning type alert will be triggered when average duration of backend requests greater than 1000ms. | Count > 2000 | Count < = 2000 |
154
+
|`Azure API Management - High Gateway Client Errors (4xx)`| This alert is triggered when count of gateway requests resulting in a 4xx client error greater than 10. | Count > 10 | Count < = 10 |
155
+
|`Azure API Management - High Gateway Server Errors (5xx)`| This alert is triggered when count of gateway requests resulting in a 5xx server error greater than 5. | Count > 5 | Count < = 5 |
156
+
|`Azure API Management - High Overall Duration of Gateway Requests`| This alert is triggered when average overall duration of gateway requests greater than 3000ms. Also, a warning type alert will be triggered when average overall duration of gateway requests greater than 1500ms. | Count > 3000 | Count < = 3000 |
157
+
158
+
234
159
## Upgrade/Downgrade the Azure API Management app (optional)
235
160
236
161
import AppUpdate from '../../reuse/apps/app-update.md';
0 commit comments