Skip to content

Commit dd71e0e

Browse files
authored
Update resolve-issues-configuring-long-term-storage-for-azure-activity-logs.md
Edit review per CI 6690
1 parent f189558 commit dd71e0e

1 file changed

Lines changed: 23 additions & 27 deletions

File tree

Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,54 @@
11
---
22
title: Resolve Issues Configuring Long-Term Storage for Azure Activity Logs
3-
description: This article addresses the issue of configuring long-term storage for Azure Activity Logs, which by default are retained for 90 days. Users may need to store logs for a longer period for compliance or analysis purposes.
3+
description: Discusses how to configure long-term storage for Azure Activity Logs past the default 90 days.
44
ms.date: 07/23/2025
55
ms.reviewer: v-liuamson; v-gsitser
66
ms.service: azure-monitor
77
ms.custom: I can’t configure export of Activity Logs
88
---
99

10-
# Resolve Issues Configuring Long-Term Storage for Azure Activity Logs
10+
# Configure long-term storage for Azure Activity Logs
1111

12-
This article addresses the issue of configuring long-term storage for Azure Activity Logs, which by default are retained for 90 days. Users may need to store logs for a longer period for compliance or analysis purposes.
12+
This article discusses how to configure long-term storage for Azure Activity Logs. By default, Activity Logs are retained for 90 days. Users might have to store logs for a longer time for compliance or extended analysis.
1313

14-
## Introduction
14+
## Configure long-term storage
1515

16-
Azure Activity Logs are retained for 90 days by default. This guide provides steps to configure long-term storage for these logs, ensuring they are available for extended analysis or compliance needs.
16+
### Step 1: Create a diagnostic setting
1717

18-
### Step-by-Step Instructions to Configure Long-Term Storage
19-
20-
#### Create a Diagnostic Setting
21-
22-
1. Navigate to the [Azure portal](https://ms.portal.azure.com/auth/login/) and select **Monitor**.
23-
1. Under **Settings**, choose **Diagnostic settings**.
18+
1. Go to the [Azure portal](https://ms.portal.azure.com/auth/login/) > **Monitor**.
19+
1. Under **Settings**, select **Diagnostic settings**.
2420
1. Select **Add diagnostic setting**.
25-
1. Select the **Activity Log** you wish to configure.
21+
1. Under **Activity Log**, select the log that you want to configure.
2622

27-
#### Specify the Destination
23+
### Step 2: Specify the destination
2824

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.
25+
1. Got to **Log Analytic** > **Event Hubs** > **Azure Storage**, and select the destinations for your logs.
26+
1. Set the destination resource to retain logs for more than 90 days.
3127

32-
#### Configure Retention Settings
28+
### Step 3: Configure the retention settings
3329

34-
1. If using Azure Storage, navigate to the **Storage Account**.
30+
1. If you use Azure Storage, navigate to the **Storage Account**.
3531
1. Under **Data Management**, select **Lifecycle Management**.
3632
1. Set the retention period to your desired duration.
3733

38-
#### Verify Configuration
34+
### Step 4: Verify the configuration
3935

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.
36+
1. Return to **Diagnostic settings**, and make sure that your settings are saved.
37+
1. Check the destination resource to verify that logs are stored as expected.
4238

43-
### Frequenctly Asked Questions
39+
### Frequenctly asked questions
4440

45-
**Why aren’t the logs appearing in the destination?**
41+
**Q1: Why don't the logs appear in the destination?**
4642

47-
Ensure the diagnostic setting is correctly configured and the destination resource is active.
43+
**A1:** Make sure that the diagnostic setting is correctly configured and the destination resource is active.
4844

49-
**Why is the retention period not applied?d**
45+
**Q2: Why is the retention period not applied?**
5046

51-
Verify that the retention settings in the destination resource are correctly set.
47+
**A2** Verify that the retention settings in the destination resource are set correctly.
5248

53-
## Reference
49+
## References
5450

5551
- [Azure Monitor Documentation](/azure/azure-monitor/platform/activity-log?tabs=powershell)
5652
- [Azure Storage Lifecycle Management](/azure/storage/blobs/storage-lifecycle-management-concepts)
5753

58-
If the issue persists after following the solution steps, please open a support case for further assistance.
54+
If the issue persists after you follow these steps, open a support case for further assistance.

0 commit comments

Comments
 (0)