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-cosmos-db-for-postgresql.md
+18-96Lines changed: 18 additions & 96 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,105 +23,15 @@ For Azure Cosmos DB for PostgreSQL, you can collect the following logs and metri
23
23
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:
24
24
25
25
* 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/).
26
-
* 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.
26
+
* Metrics collection using our [Azure Metrics Source](/docs/send-data/hosted-collectors/microsoft-source/azure-metrics-source).
27
27
28
28
You must explicitly enable diagnostic settings for each Azure Cosmos DB for PostgreSQL cluster 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).
29
29
30
30
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/CosmosDBforPostgreSQL/Logs`, `Azure/CosmosDBforPostgreSQL/Metrics`.
31
31
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
-
2. 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 in the [Microsoft Documentation](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, Azure SQL databases in Azure SQL Server).
46
-
3. 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 Rules (FER) for Azure Storage by following the instructions in the [Create a Field Extraction Rule](/docs/manage/field-extractions/create-field-extraction-rule/). Create the rules below if they are not present.
Create the following metrics rules by following the instructions in [Create a metrics rule](/docs/metrics/metric-rules-editor/#create-a-metrics-rule). Create the rules below if they are not present.
93
-
94
-
#### Azure observability metadata extraction flexible PostgreSQL server level
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.
116
-
117
-
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" />
118
-
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).
119
-
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).
120
-
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 PostgreSQL Server resource that you want to monitor.
121
-
1. Choose `Stream to an event hub` as destination.
122
-
1. Select `AllMetrics`.
123
-
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/export-metrics-diagnostic-settings-cosmosdbforpostgresql.png')} alt="Azure flexible postgresql server metrics" style={{border: '1px solid gray'}} width="800" />
124
-
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 CosmosDB for PostgreSql Tag Location" style={{border: '1px solid gray'}} width="400" />
34
+
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).
125
35
126
36
### Configure logs collection
127
37
@@ -157,15 +67,27 @@ Since this source contains logs from multiple regions, ensure that you do not ta
157
67
158
68
Now that you have set up data collection, install the Azure Database for PostgreSQL Sumo Logic app to use the pre-configured dashboards that provide visibility into your environment for real-time analysis of overall usage.
159
69
160
-
import AppInstallNoDataSourceV2 from '../../reuse/apps/app-install-index-apps-v2.md';
70
+
import AppInstallIndexV2 from '../../reuse/apps/app-install-index-option.md';
71
+
72
+
<AppInstallIndexV2/>
73
+
74
+
As part of the app installation process, the following fields will be created by default:
161
75
162
-
<AppInstallNoDataSourceV2/>
76
+
-`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).
77
+
-`location`. The region to which the resource name belongs to.
78
+
-`subscription_id`. ID associated with a subscription where the resource is present.
79
+
-`resource_group`. The resource group name where the Azure resource is present.
80
+
-`provider_name`. Azure resource provider name (for example, Microsoft.Network).
81
+
-`resource_type`. Azure resource type (for example, storage accounts).
82
+
-`resource_name`. The name of the resource (for example, storage account name).
83
+
-`service_type`. Type of the service that can be accessed with a Azure resource.
84
+
-`service_name`. Services that can be accessed with an Azure resource (for example, in Azure Container Instances the service is Subscriptions).
163
85
164
86
## Viewing the Azure Cosmos DB for PostgreSQL dashboards
165
87
166
-
import ViewDashboards from '../../reuse/apps/view-dashboards.md';
88
+
import ViewDashboardsIndex from '../../reuse/apps/view-dashboards-index.md';
0 commit comments