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: support/azure/azure-monitor/activity-logs/config-export/centralized-configuration-of-activity-logs-to-event-hub.md
+15-20Lines changed: 15 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,30 +17,25 @@ Organizations often require a centralized approach to manage Activity Logs acros
17
17
18
18
## Step-by-Step Instructions to Configure Activity Logs
19
19
20
-
### 1. Create an Azure Policy for Activity Logs
20
+
1.**Create an Azure Policy for Activity Logs:**
21
+
- Navigate to the Azure portal and access the **Azure Policy** service.
22
+
- Create a new policy definition using the JSON provided in the community example. This policy should automate the enablement of activity log diagnostics settings across all subscriptions under a management group.
21
23
22
-
- Navigate to the Azure portal and access the **Azure Policy** service.
23
-
- Create a new policy definition using the JSON provided in the community example. This policy should automate the enablement of activity log diagnostics settings across all subscriptions under a management group.
24
+
2.**Assign the Policy to Management Group:**
25
+
- Assign the newly created policy to the desired management group containing the required subscriptions.
26
+
- Ensure that the policy is set to send data to the specified Event Hub.
24
27
25
-
### 2. Assign the Policy to Management Group
28
+
3.**Configure Log Analytics Workspace:**
29
+
- Access the **Log Analytics Workspace** in the Azure portal.
30
+
- Set up data export rules to forward logs from the Log Analytics Workspace to the Event Hub. Specify the source table as `AzureActivity` and the destination as the central Event Hub.
26
31
27
-
- Assign the newly created policy to the desired management group containing the required subscriptions.
28
-
- Ensure that the policy is set to send data to the specified Event Hub.
32
+
4.**Verify Event Hub Configuration:**
33
+
- Ensure the Event Hub is configured to handle the expected log volume from all subscriptions.
34
+
- Review performance benchmarks and adjust the Event Hub tier if necessary to manage logs efficiently.
29
35
30
-
### 3. Configure Log Analytics Workspace
31
-
32
-
- Access the **Log Analytics Workspace** in the Azure portal.
33
-
- Set up data export rules to forward logs from the Log Analytics Workspace to the Event Hub. Specify the source table as `AzureActivity` and the destination as the central Event Hub.
34
-
35
-
### 4. Verify Event Hub Configuration
36
-
37
-
- Ensure the Event Hub is configured to handle the expected log volume from all subscriptions.
38
-
- Review performance benchmarks and adjust the Event Hub tier if necessary to manage logs efficiently.
39
-
40
-
### 5. Monitor and Adjust
41
-
42
-
- Regularly monitor the Event Hub's performance and log flow.
43
-
- Adjust configurations as needed to optimize performance and cost.
36
+
5.**Monitor and Adjust:**
37
+
- Regularly monitor the Event Hub's performance and log flow.
38
+
- Adjust configurations as needed to optimize performance and cost.
0 commit comments