Skip to content

Commit a7d100a

Browse files
Update configuring-azure-activity-log-export-comprehensive-guide.md
1 parent 52642ca commit a7d100a

File tree

1 file changed

+40
-11
lines changed

1 file changed

+40
-11
lines changed

support/azure/azure-monitor/activity-logs/config-export/configuring-azure-activity-log-export-comprehensive-guide.md

Lines changed: 40 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
22
title: Configuring Azure Activity Log Export
3-
description: Provides guidance for resolving issues related to configuring the export of Azure Activity logs
4-
ms.date: 08/18/2025
5-
ms.reviewer: v-liuamson; v-gsitser; v-sisidhu
3+
description: Provides guidance for resolving issues related to configuring the export of Azure activity logs
4+
ms.date: 10/01/2025
5+
author: JarrettRenshaw
6+
ms.author: jarrettr
7+
ms.reviewer: v-gsitser, v-ryanberg, neghuman, vikamala
68
ms.service: azure-monitor
79
ms.custom: I can’t configure export of activity logs
810
---
@@ -27,18 +29,45 @@ To configure Azure activity log export, follow these steps.
2729

2830
### Step 3: Configure new export settings
2931

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+
1. Select **Activity log** > **Export Activity Logs**.
33+
1. Find and select the subscription, and then select **Add diagnostic setting**.
34+
1. In the **Diagnostic setting name** box, enter a name.
35+
1. Select all applicable categories and then select **Save**.
3236

33-
### Step 4: Test the new configuration
37+
> [!NOTE]
38+
> It usually takes about 30 minutes for the export to begin.
3439
35-
1. Make sure to test the configuration by generating sample logs.
36-
1. Check the destination to verify that logs are exported as expected.
40+
## Common issues and solutions
3741

38-
### Step 5: Monitor and adjust
42+
- **Issue**: Logs aren't appearing in configured destinations.
43+
- **Solution**: See the following guidance for log analytics, event hubs, and storage accounts.
3944

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.
45+
### For log analytics
46+
47+
1. Navigate to **Log Analytics workspaces**.
48+
1. Select the workspace and then run the following query:
49+
50+
```powershell
51+
AzureActivity
52+
| summarize count() by bin(TimeGenerated,1d)
53+
```
54+
55+
This should determine the number of logs per day that are being ingested into this workspace.
56+
57+
### For event hubs
58+
59+
1. Navigate to **Event Hubs**.
60+
1. Select the event hub and then select **Data Explorer**.
61+
1. Verify the logs are reaching the event hub.
62+
63+
If the logs aren't reaching the event hub, check for throttling using a metrics blade.
64+
65+
### For storage accounts
66+
67+
1. Navigate to **Storage center | Storage accounts (Blobs)**.
68+
1. Locate and select the **insights-activity-logs** container.
69+
70+
The logs should be visible.
4271

4372
## Frequently asked questions
4473

0 commit comments

Comments
 (0)