Skip to content

Commit a0c6d4f

Browse files
authored
Update azure-monitor.md
**Draft version** Adding clarification regrind the resource group + steps how to configure the monitor + fixing the broken link on the "next step" section.
1 parent c51aa08 commit a0c6d4f

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

articles/active-directory-b2c/azure-monitor.md

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.workload: identity
1111
ms.topic: conceptual
1212
ms.author: marsma
1313
ms.subservice: B2C
14-
ms.date: 02/05/2020
14+
ms.date: 02/07/2020
1515
---
1616

1717
# Monitor Azure AD B2C with Azure Monitor
@@ -42,7 +42,7 @@ You authorize a user in your Azure AD B2C directory (the **Service Provider**) t
4242

4343
## Create a resource group
4444

45-
In the Azure Active Directory (Azure AD) tenant that contains your Azure subscription (*not* the directory that contains your Azure AD B2C tenant), [create a resource group](../azure-resource-manager/management/manage-resource-groups-portal.md#create-resource-groups). Use the following values:
45+
In the Azure Active Directory (Azure AD) tenant that contains your Azure subscription (*not* the directory that contains your Azure AD B2C tenant), [create a resource group](../azure-resource-manager/management/manage-resource-groups-portal.md#create-resource-groups). This resource group will contain your [Azure storage account](../storage/blobs/storage-blobs-introduction.md), [event hub](../event-hubs/event-hubs-about.md), or [Log Analytics workspace](../azure-monitor/platform/resource-logs-collect-workspace.md) where you want to archive the sign-in and auditing logs. Alternatively use an existing resource group, where you have your Azure storage account, event hub, or Log Analytics workspace. To create a new resource group, use the following values:
4646

4747
* **Subscription**: Select your Azure subscription.
4848
* **Resource group**: Enter name for the resource group. For example, *azure-ad-b2c-monitor*.
@@ -203,6 +203,14 @@ Once you've deployed the template and have waited a few minutes for the resource
203203

204204
![All directories selected in Directory & Subscription filter](./media/azure-monitor/azure-monitor-portal-04-subscriptions-selected.png)
205205

206+
207+
## Choose the destinations
208+
Diagnostic settings define where resource logs and metrics for a particular resource should be sent. Possible destinations are:
209+
210+
- [Log Analytics workspace](../platform/resource-logs-collect-workspace.md) which allows you to analyze data with other monitoring data collected by Azure Monitor using powerful log queries and also to leverage other Azure Monitor features such as log alerts and visualizations.
211+
- [Event hubs](../platform/resource-logs-stream-event-hubs.md) to stream data to external systems such as third-party SIEMs and other log analytics solutions.
212+
- [Azure storage account](../platform/resource-logs-collect-storage.md) which is useful for audit, static analysis, or backup.
213+
206214
## Configure diagnostic settings
207215

208216
After you've delegated resource management and have selected your subscription, you're ready to [Create diagnostic settings](../active-directory/reports-monitoring/overview-monitoring.md) in the Azure portal.
@@ -213,12 +221,25 @@ To configure monitoring settings for Azure AD B2C activity logs:
213221
1. Select the **Directory + Subscription** icon in the portal toolbar, and then select the directory that contains your Azure AD B2C tenant.
214222
1. Select **Azure Active Directory**
215223
1. Under **Monitoring**, select **Diagnostic settings**.
216-
1. Select **+ Add diagnostic setting**.
224+
1. If there are existing settings on the resource, you will see a list of settings already configured. Either click **Add diagnostic setting** to add a new setting or **Edit** setting to edit an existing one. Each setting can have no more than one of each of the destination types..
217225

218226
![Diagnostics settings pane in Azure portal](./media/azure-monitor/azure-monitor-portal-05-diagnostic-settings-pane-enabled.png)
219227

228+
1. Give your setting a name if it doesn't already have one.
229+
1. Check the box for each destination to send the logs. Click **Configure** to specify their settings as described in the following table.
230+
231+
| Setting | Description |
232+
|:---|:---|
233+
| Archive to a storage account | Name of storage account. |
234+
| Stream to an event hub | The namespace where the event hub is created (if this is your first time streaming logs) or streamed to (if there are already resources that are streaming that log category to this namespace).
235+
| Send to Log Analytics | Name of workspace. |
236+
237+
1. Select the **AuditLogs** and **SignInLogs**.
238+
1. Select **Save** to save your settings.
239+
220240
## Next steps
221241

222242
For more information about adding and configuring diagnostic settings in Azure Monitor, see this tutorial in the Azure Monitor documentation:
223-
224-
[Tutorial: Collect and analyze resource logs from an Azure resource](/azure-monitor/learn/tutorial-resource-logs.md)
243+
244+
- [Tutorial: Stream Azure Active Directory logs to an Azure event hub](./active-directory/reports-monitoring/tutorial-azure-monitor-stream-logs-to-event-hub)
245+
- [Tutorial: Collect and analyze resource logs from an Azure resource](./azure-monitor/insights/monitor-azure-resource.md)

0 commit comments

Comments
 (0)