Skip to content

Commit 1f31f39

Browse files
authored
Update exporting-directory-level-activity-logs-to-event-hub.md
Edit review per CI 6477
1 parent 79dbc97 commit 1f31f39

File tree

1 file changed

+17
-27
lines changed

1 file changed

+17
-27
lines changed

support/azure/azure-monitor/activity-logs/config-export/exporting-directory-level-activity-logs-to-event-hub.md

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,41 @@
11
---
2-
title: Exporting Directory Level Activity Logs to Event Hub
3-
description: Provides guidance on exporting directory-level activity logs to an Event Hub using Azure's management group level diagnostic settings.
2+
title: Exporting Directory-Level Activity Logs to Event Hubs
3+
description: Provides guidance for exporting directory-level activity logs to Event Hubs by using Azure management group-level diagnostic settings.
44
ms.date: 07/16/2025
55
ms.reviewer: v-liuamson; v-gsitser; v-sisidhu
66
ms.service: azure-monitor
77
ms.custom: I can’t configure export of Activity Logs
88
---
99

10-
# Exporting Directory Level Activity Logs to Event Hub
10+
# Export directory-level activity logs to Event Hubs
1111

12-
This article provides guidance on exporting directory-level activity logs to an Event Hub using Azure's management group level diagnostic settings. This process is essential for users who need to monitor and analyze activity logs efficiently.
12+
This article provides guidance to export directory-level activity logs to Event Hubs by using Microsoft Azure management group-level diagnostic settings. This process is essential for users who have to monitor and analyze activity logs efficiently.
1313

1414
## Introduction
1515

16-
Exporting directory-level activity logs to an Event Hub can be achieved through an API call that creates management group level diagnostic settings. This solution is particularly useful for organizations looking to centralize their log data for better analysis and monitoring.
16+
You can export directory-level activity logs to an event hub through an API call that creates management group-level diagnostic settings. This solution is particularly useful for organizations that want to centralize their log data for better analysis and monitoring.
1717

18-
### Step-by-step instructions to export logs
18+
### Instructions to export logs
1919

20-
1. **Access Azure Portal**
21-
- Navigate to the Azure portal and sign in with your credentials.
20+
1. **Access the Azure portal**: Navigate to the Azure portal, and sign in by using your credentials.
2221

23-
2. **Locate Diagnostic Settings**
24-
- Go to the **Azure Monitor** section.
25-
- Select **Diagnostic settings** from the menu.
22+
2. **Locate diagnostic settings**: Go to the **Azure Monitor** section, and select **Diagnostic settings** on the menu.
2623

27-
3. **Create or Update Diagnostic Settings**
28-
- Click on **Add diagnostic setting**.
29-
- Choose the resource for which you want to export logs.
24+
3. **Create or update diagnostic settings**: Select **Add diagnostic setting**, and select the resource that you want to export logs for.
3025

31-
4. **Configure Export to Event Hub**
32-
- Under **Destination details**, select **Event Hub**.
33-
- Provide the necessary **Event Hub namespace** and **Event Hub name**.
34-
- Ensure the **Event Hub key ID** is correctly entered.
26+
4. **Configure export to event hub**: Under **Destination details**, select **Event Hub**. Provide the necessary **Event Hub namespace** and **Event Hub name** values. Make sure that the **Event Hub key ID** value is entered correctly.
3527

36-
5. **Save and Verify**
37-
- Click **Save** to apply the settings.
38-
- Verify that logs are being exported by checking the Event Hub for incoming data.
28+
5. **Save and verify**: Select **Save** to apply the settings. Check the event hub for incoming data to verify that the logs are exported.
3929

40-
### Common Issues and Solutions
30+
### Common issues and solutions
4131

42-
- **Issue:** Logs are not appearing in Event Hub.
43-
- **Solution:** Double-check the Event Hub configuration and ensure the correct namespace and key ID are used.
32+
- **Issue:** Logs don't appear in Event Hubs.
33+
- **Solution:** Double-check the event hub configuration to make sure that the correct namespace and key ID are used.
4434

45-
- **Issue:** Permission errors when setting up diagnostic settings.
46-
- **Solution:** Ensure you have the necessary permissions to create or update diagnostic settings in Azure.
35+
- **Issue:** Permission errors occur when making diagnostic settings.
36+
- **Solution:** Make sure that you have the necessary permissions to create or update diagnostic settings in Azure.
4737

48-
## Reference
38+
## References
4939

5040
- [Azure Monitor Documentation](https://learn.microsoft.com/azure/monitoring/)
5141
- [Event Hubs Documentation](https://learn.microsoft.com/azure/event-hubs/)

0 commit comments

Comments
 (0)