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/resolve-issues-configuring-long-term-storage-for-azure-activity-logs.md
+27-18Lines changed: 27 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,29 +17,38 @@ Azure Activity Logs are retained for 90 days by default. This guide provides ste
17
17
18
18
### Step-by-Step Instructions to Configure Long-Term Storage
19
19
20
-
1.**Create a Diagnostic Setting**:
21
-
- Navigate to the Azure portal and select **Monitor**.
22
-
- Under **Settings**, choose **Diagnostic settings**.
23
-
- Click on **Add diagnostic setting**.
24
-
- Select the **Activity Log** you wish to configure.
20
+
#### Create a Diagnostic Setting
25
21
26
-
2.**Specify the Destination**:
27
-
- Choose the destination for your logs. Options include **Log Analytics**, **Event Hubs**, or **Azure Storage**.
28
-
- Ensure the destination resource is configured to retain logs for more than 90 days.
22
+
1. Navigate to the [Azure portal](https://ms.portal.azure.com/auth/login/) and select **Monitor**.
23
+
1. Under **Settings**, choose **Diagnostic settings**.
24
+
1. Select **Add diagnostic setting**.
25
+
1. Select the **Activity Log** you wish to configure.
29
26
30
-
3.**Configure Retention Settings**:
31
-
- If using Azure Storage, navigate to the **Storage Account**.
32
-
- Under **Data Management**, select **Lifecycle Management**.
33
-
- Set the retention period to your desired duration.
27
+
#### Specify the Destination
34
28
35
-
4.**Verify Configuration**:
36
-
- Return to the **Diagnostic settings** and ensure your settings are saved.
37
-
- Check the destination resource to confirm logs are being stored as expected.
29
+
1. Choose the destinations for your logs from **Log Analytic**, **Event Hubs**, **Azure Storage.**
30
+
1. Ensure the destination resource is configured to retain logs for more than 90 days.
38
31
39
-
###Common Issues and Solutions
32
+
#### Configure Retention Settings
40
33
41
-
-**Logs Not Appearing in Destination**: Ensure the diagnostic setting is correctly configured and the destination resource is active.
42
-
-**Retention Period Not Applied**: Verify that the retention settings in the destination resource are correctly set.
34
+
1. If using Azure Storage, navigate to the **Storage Account**.
35
+
1. Under **Data Management**, select **Lifecycle Management**.
36
+
1. Set the retention period to your desired duration.
37
+
38
+
#### Verify Configuration
39
+
40
+
1. Return to the **Diagnostic settings** and ensure your settings are saved.
41
+
1. Check the destination resource to confirm logs are being stored as expected.
42
+
43
+
### Frequenctly Asked Questions
44
+
45
+
**Why aren’t the logs appearing in the destination?**
46
+
47
+
Ensure the diagnostic setting is correctly configured and the destination resource is active.
48
+
49
+
**Why is the retention period not applied?d**
50
+
51
+
Verify that the retention settings in the destination resource are correctly set.
0 commit comments