|
1 | 1 | --- |
2 | 2 | title: Configuring Azure Activity Log Export |
3 | | -description: Provides guidance on resolving issues related to configuring the export of Azure Activity Logs |
| 3 | +description: Provides guidance for resolving issues related to configuring the export of Azure Activity logs |
4 | 4 | ms.date: 08/18/2025 |
5 | 5 | ms.reviewer: v-liuamson; v-gsitser; v-sisidhu |
6 | 6 | ms.service: azure-monitor |
7 | | -ms.custom: I can’t configure export of Activity Logs |
| 7 | +ms.custom: I can’t configure export of Activity logs |
8 | 8 | --- |
9 | 9 |
|
10 | | -# Configuring Azure Activity Log Export |
| 10 | +# Configure Azure Activity log export |
11 | 11 |
|
12 | | -When configuring Azure Activity Log exports, you might face issues, especially when transitioning from older methods. This guide outlines the steps to ensure a smooth configuration process, addressing common issues and providing actionable solutions. |
| 12 | +This article outlines the steps to successfully configure Azure Activity log export. This article also provides solutions to common issues that you might experience, especially if you're transitioning from older methods. |
13 | 13 |
|
14 | | -## Configure Azure Activity Log Export |
| 14 | +## Configuring Activity log export |
15 | 15 |
|
16 | | -### Step 1: Verify Current Configuration |
| 16 | +To configure Azure Activity log export, follow these steps. |
17 | 17 |
|
18 | | -1. Go to the [Azure portal](https://ms.portal.azure.com/auth/login/) and access the **Activity Logs** section. |
19 | | -1. Check the current export settings to ensure they align with your requirements. |
| 18 | +### Step 1: Verify current configuration |
20 | 19 |
|
21 | | -### Step 2: Update Legacy Methods |
| 20 | +1. Go to the [Azure portal](https://ms.portal.azure.com/auth/login/), and access the **Activity Logs** section. |
| 21 | +1. Check the current export settings to make sure that they align with your requirements. |
22 | 22 |
|
23 | | -1. If you are using legacy APIs or PowerShell commands, update them to the latest versions. |
24 | | -1. Use the command `Get-AzOperationalInsightsDataSource` to verify existing data sources. |
| 23 | +### Step 2: Update legacy methods |
25 | 24 |
|
26 | | -### Step 3: Configure New Export Settings |
| 25 | +1. If you're using legacy APIs or PowerShell commands, update them to the latest versions. |
| 26 | +1. Use the `Get-AzOperationalInsightsDataSource` command to verify existing data sources. |
27 | 27 |
|
28 | | -1. Go to **Azure Monitor** and select **Diagnostic settings**. |
29 | | -1. Create a new setting by specifying the **Log Analytics workspace** and **Event Hub** as destinations. |
| 28 | +### Step 3: Configure new export settings |
30 | 29 |
|
31 | | -### Step 4: Test the Configuration |
| 30 | +1. Go to **Azure Monitor**, and select **Diagnostic settings**. |
| 31 | +1. Create a setting by specifying the **Log Analytics workspace** and **Event Hub** as destinations. |
| 32 | + |
| 33 | +### Step 4: Test the new configuration |
32 | 34 |
|
33 | 35 | 1. Make sure to test the configuration by generating sample logs. |
34 | 36 | 1. Check the destination to verify that logs are exported as expected. |
35 | 37 |
|
36 | | -### Step 5: Monitor and Adjust |
| 38 | +### Step 5: Monitor and adjust |
37 | 39 |
|
38 | | -1. Regularly monitor the logs to ensure they are being exported correctly. |
39 | | -1. Adjust the settings as necessary based on the log data and performance. |
| 40 | +1. Regularly monitor the logs to make sure that they're exported correctly. |
| 41 | +1. Adjust the settings as necessary, based on the log data and performance. |
40 | 42 |
|
41 | | -**Frequently asked questions** |
| 43 | +## Frequently asked questions |
42 | 44 |
|
43 | 45 | **Q1: Why don't the logs appear in the destination?** |
44 | 46 |
|
45 | | -**A1:** Make sure the network is well connected, and verify the permissions for Log Analytics workspace. |
| 47 | +**A1:** Make sure that the network is well connected, and verify the permissions for Log Analytics workspace. |
46 | 48 |
|
47 | | -**Q2: Why are errors appearing in the PowerShell commands?** |
| 49 | +**Q2: Why do errors appear in the PowerShell commands?** |
48 | 50 |
|
49 | | -**A2:** Make sure you are using the latest Azure PowerShell module. |
| 51 | +**A2:** Make sure that you're using the latest Azure PowerShell module. |
50 | 52 |
|
51 | 53 | ## References |
52 | 54 |
|
53 | | -- [Azure Monitor Documentation](/azure/azure-monitor/fundamentals/overview) |
54 | | -- [Azure Activity Logs Overview](/azure/azure-monitor/fundamentals/data-sources) |
55 | | -- [Configure Diagnostic Settings](/azure/azure-monitor/platform/diagnostic-settings?tabs=portal) |
| 55 | +- [Azure Monitor documentation](/azure/azure-monitor/fundamentals/overview) |
| 56 | +- [Azure Activity logs overview](/azure/azure-monitor/fundamentals/data-sources) |
| 57 | +- [Configure diagnostic settings](/azure/azure-monitor/platform/diagnostic-settings?tabs=portal) |
56 | 58 |
|
57 | 59 | ## Contact us for help |
58 | 60 |
|
|
0 commit comments