In this step you configure a pipeline for shipping logs 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. Azure Monitor collects metrics and well as logs. The pipeline is described on Collect Logs from Azure Monitor.

Perform Steps 1 and Step 2 of Collect Logs from Azure Monitor.
In Step 1, you create an HTTP Source. When you configure the, plan your source category to ease the querying process. A hierarchical approach allows you to make use of wildcards. For example:Azure/DB/SQL/Logs

Click Azure SQL. Select the SQL database from which you want to collect logs.

In the Monitoring Section, the Diagnostic Settings blade displays any existing settings. Click Edit Setting if you want to change your existing settings, or click Add diagnostic setting to add a new one. You can have a maximum of three settings.

Step 2: Collect metrics from Azure Monitor by streaming to EventHub

In this step, you 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. The pipeline is described on Collect Metrics from Azure Monitor.

Perform Steps 1 and Step 2 of Collect Metrics from Azure Monitor.
In Step 1, you create an HTTP source. When you configure the, plan your source category to ease the querying process. A hierarchical approach allows you to make use of wildcards. For example:Azure/DB/SQL/Metrics

Push metrics from Azure Monitor to Event Hub.

From the left pane, select ALL Services.

Search for and select "Monitor".

In the Monitor pane, select Diagnostic Settings under Settings.

Select the resource for which you want to export metrics. If diagnostics is not enabled click Turn on Diagnostics Settings.

Once diagnostics are enabled, click Add a diagnostic setting.

The Diagnostic Settings page appears.

In the left pane

Enter a name for the diagnostic setting.

Click the Stream to an event hub checkbox.

Select Configure event hub. The right pane appears.

In the right pane:

Choose a Subscription.

Select SumoMetricsNamespace<UniqueSuffix> as the event hub namespace.

Select insights-metrics-pt1m as the event hub name.

Select an event hub policy name. You can use the default policy RootManageSharedAccessKey.