Skip to content

Commit cc1a5b4

Browse files
author
amsliu
committed
formatting change
1 parent 817691b commit cc1a5b4

File tree

1 file changed

+15
-20
lines changed

1 file changed

+15
-20
lines changed

support/azure/azure-monitor/activity-logs/config-export/centralized-configuration-of-activity-logs-to-event-hub.md

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,25 @@ Organizations often require a centralized approach to manage Activity Logs acros
1717

1818
## Step-by-Step Instructions to Configure Activity Logs
1919

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.
2123

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.
2427

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.
2631

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.
2935

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.
4439

4540
## Common Issues and Solutions
4641

0 commit comments

Comments
 (0)