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
@@ -40,109 +40,15 @@ For Azure Cosmos DB, you can collect the following logs and metrics:
40
40
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:
41
41
42
42
* 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/).
43
-
* 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.
43
+
* Metrics collection using our [Azure Metrics Source](/docs/send-data/hosted-collectors/microsoft-source/azure-metrics-source).
44
44
45
45
You must explicitly enable diagnostic settings for each Azure Cosmos DB account 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).
46
46
47
47
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/CosmosDB/Logs`, `Azure/CosmosDB/Metrics`.
48
48
49
-
### Configure field in field schema
50
-
51
-
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**.
52
-
1. Search for the following fields:
53
-
-`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).
54
-
-`location`. The region to which the resource name belongs to.
55
-
-`subscription_id`. ID associated with a subscription where the resource is present.
56
-
-`resource_group`. The resource group name where the Azure resource is present.
57
-
-`provider_name`. Azure resource provider name (for example, Microsoft.Network).
58
-
-`resource_type`. Azure resource type (for example, storage accounts).
59
-
-`resource_name`. The name of the resource (for example, storage account name).
60
-
-`service_type`. Type of the service that can be accessed with a Azure resource.
61
-
-`service_name`. Services that can be accessed with an Azure resource (for example, Azure SQL databases in Azure SQL Server).
62
-
1. Create the fields if they are not present. Refer to [Manage fields](/docs/manage/fields/#manage-fields).
63
-
64
-
### Configure Field Extraction Rules
65
-
66
-
Create the following Field Extraction Rules (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.
133
-
134
-
1. Create hosted collector and tag `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" />
135
-
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).
136
-
3. [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).
137
-
4. [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 following steps for each Azure Cosmos DB account that you want to monitor.
138
-
1. Choose **Stream to an event hub** as destination.
139
-
1. Select all the metrics under **Metrics** section.
140
-
1. Use the Event Hub namespace created by the ARM template in the previous step. 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/integrations/microsoft-azure/azurecosmosdb-metrics.png')} alt="Azure Cosmos DB Diagnostic Settings for metrics" style={{border: '1px solid gray'}} width="800" />
141
-
5. 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 Cosmos DB for NoSQL Tag Location" style={{border: '1px solid gray'}} width="400" />
142
-
143
-
:::note
144
-
Currently, only Azure Cosmos DB for NoSQL database account type supports exporting metrics using diagnostic settings.
145
-
:::
51
+
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).
146
52
147
53
### Configure logs collection
148
54
@@ -178,15 +84,27 @@ For security events, make sure you enable [Microsoft Defender for Cloud](https:/
178
84
179
85
This section provides instructions on how to install the Azure Cosmos DB app, and shows examples of each of the preconfigured dashboards you can use to analyze your data.
180
86
181
-
import AppInstall2 from '../../reuse/apps/app-install-v2.md';
87
+
import AppInstallIndexV2 from '../../reuse/apps/app-install-index-option.md';
88
+
89
+
<AppInstallIndexV2/>
90
+
91
+
As part of the app installation process, the following fields will be created by default:
182
92
183
-
<AppInstall2/>
93
+
-`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).
94
+
-`location`. The region the resource name belongs to.
95
+
-`subscription_id`. ID associated with a subscription where the resource is present.
96
+
-`resource_group`. The resource group name where the Azure resource is present.
97
+
-`provider_name`. Azure resource provider name (for example, Microsoft.Network).
98
+
-`resource_type`. Azure resource type (for example, storage accounts).
99
+
-`resource_name`. The name of the resource (for example, storage account name).
100
+
-`service_type`. Type of the service that can be accessed with an Azure resource.
101
+
-`service_name`. Services that can be accessed with an Azure resource (for example, in Azure Container Instances the service is Subscriptions).
184
102
185
103
## Viewing the Azure Cosmos DB dashboards
186
104
187
-
import ViewDashboards from '../../reuse/apps/view-dashboards.md';
105
+
import ViewDashboardsIndex from '../../reuse/apps/view-dashboards-index.md';
0 commit comments