Skip to content

Commit 4a6f3ca

Browse files
authored
Merge pull request #225367 from AbdullahBell/ddos-log-workspace-article
DDoS Protection: Configure Log Analytics workspace
2 parents ed4d65f + e35286c commit 4a6f3ca

6 files changed

+77
-2
lines changed

articles/ddos-protection/TOC.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@
5858
items:
5959
- name: Configure Monitoring and Logging
6060
items:
61-
- name: Configure metric alerts through portal
62-
href: alerts.md
61+
- name: Configure Log Analytics workspace
62+
href: ddos-configure-log-analytics-workspace.md
63+
- name: Configure metric alerts through portal
64+
href: alerts.md
6365
- name: View Monitoring and Logging
6466
items:
6567
- name: View alerts in Microsoft Defender for Cloud
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
title: 'Configure Azure DDoS Protection Log Analytics workspace'
3+
description: Learn how to configure Log Analytics workspace for Azure DDoS Protection.
4+
services: ddos-protection
5+
documentationcenter: na
6+
author: AbdullahBell
7+
ms.service: ddos-protection
8+
ms.topic: how-to
9+
ms.tgt_pltfrm: na
10+
ms.workload: infrastructure-services
11+
ms.date: 01/30/2023
12+
ms.author: abell
13+
---
14+
15+
# Configure Azure DDoS Protection Log Analytics workspace
16+
17+
In order to use diagnostic logging, you'll first need a Log Analytics workspace with diagnostic settings enabled.
18+
19+
In this article, you'll learn how to configure a Log Analytics workspace for Azure DDoS Protection.
20+
21+
## Prerequisites
22+
23+
- If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
24+
25+
## Create Log Analytics workspace
26+
27+
28+
1. Sign in to the [Azure portal](https://portal.azure.com/).
29+
1. In the search box at the top of the portal, enter **Log Analytics workspace**. Select **Log Analytics workspace** in the search results.
30+
1. Select **+ Create** on the navigation bar.
31+
32+
:::image type="content" source="./media/ddos-log-analytics-workspace/ddos-protection-log-analytics-workspace-create.png" alt-text="Screenshot of creating a log analytics workspace.":::
33+
34+
1. On the *Create Log Analytics workspace* page, enter the following information.
35+
:::image type="content" source="./media/ddos-log-analytics-workspace/ddos-protection-log-analytics-workspace.png" alt-text="Screenshot of configuring a log analytics workspace.":::
36+
37+
| Setting | Value |
38+
|--|--|
39+
| Subscription | Select your Azure subscription. |
40+
| Resource Group | Select your resource group. |
41+
| Name | Enter **myLogAnalyticsWorkspace**. |
42+
| Region | Select **East US**. |
43+
44+
1. Select **Review + create** and then select **Create** after validation passes.
45+
1. In the search box at the top of the portal, enter **myLogAnalyticsWorkspace**. Select **myLogAnalyticsWorkspace** in the search results.
46+
1. Under *Monitoring* in the side tab, select **Diagnostic settings**, then select **+ Add diagnostic setting**.
47+
48+
:::image type="content" source="./media/ddos-log-analytics-workspace/ddos-protection-log-analytics-workspace-settings.png" alt-text="Screenshot of locating log analytics workspace diagnostic setting.":::
49+
50+
1. On the *Diagnostic setting* page, under *Destination details*, select **Send to Log Analytics workspace**, then enter the following information.
51+
:::image type="content" source="./media/ddos-log-analytics-workspace/ddos-protection-diagnostic-settings.png" alt-text="Screenshot of log analytics workspace diagnostic setting.":::
52+
53+
| Setting | Value |
54+
|--|--|
55+
| Diagnostic setting name | Enter **myDiagnosticSettings**. |
56+
|**Logs**| Select **allLogs**.|
57+
|**Metrics**| Select **AllMetrics**. |
58+
|**Destination details**| Select **Send to Log Analytics workspace**.|
59+
| Subscription | Select your Azure subscription. |
60+
| Log Analytics Workspace | Select **myLogAnalyticsWorkspace**. |
61+
62+
1. Select **Save**.
63+
64+
For more information, see [Log Analytics workspace overview](../azure-monitor/logs/log-analytics-workspace-overview.md).
65+
66+
## Next steps
67+
68+
In this article, you learned how to configure a Log Analytics workspace for Azure DDoS Protection.
69+
70+
To learn how to configure diagnostic logging, see the diagnostic logging guide:
71+
72+
> [!div class="nextstepaction"]
73+
> [Test through simulations](test-through-simulations.md)
53.8 KB
Loading
29.2 KB
Loading
70.6 KB
Loading
53.6 KB
Loading

0 commit comments

Comments
 (0)