Skip to content

Commit 30533b7

Browse files
committed
updatedC16690
Formatted content
1 parent c24028c commit 30533b7

1 file changed

Lines changed: 27 additions & 18 deletions

File tree

support/azure/azure-monitor/activity-logs/config-export/resolve-issues-configuring-long-term-storage-for-azure-activity-logs.md

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,38 @@ Azure Activity Logs are retained for 90 days by default. This guide provides ste
1717

1818
### Step-by-Step Instructions to Configure Long-Term Storage
1919

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
2521

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

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
3428

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

39-
### Common Issues and Solutions
32+
#### Configure Retention Settings
4033

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

4453
## Reference
4554

0 commit comments

Comments
 (0)