An Azure service that offers file shares in the cloud.
Hi @Benleo Cagampang,
Thank you for reaching out on Microsoft Q&A forum.
I understand you’d like confirmation on the retention period, log archive storage location, and compliance coverage for your Azure logging setup. In addition to what @Michele Ariis have shared, please see the details below.
- Retention Period for Azure Logs
Azure provides flexible retention depending on the log type:
1.Activity Logs
- Retained 90 days by default at no cost.
- For longer retention, configure diagnostic settings to send logs to a Storage Account, Log Analytics workspace, or Event Hub.
- Activity Logs – Microsoft Learn
2.Log Analytics Workspace (Azure Monitor / Microsoft Sentinel)
- Default retention is 30–90 days depending on table type.
- Configurable up to 730 days (2 years) for analytics.
- With long-term retention, logs can be kept up to 4383 days (12 years).
- Configure retention – Microsoft Learn
3.Diagnostic Logs (Resource logs)
- You can set a retention policy up to 365 days in the portal.
- For longer retention, set retention to 0 days and manage deletion manually via lifecycle rules in the storage account.
2. Path / Location of Log Archive Storage
Logs can be archived to Azure Storage using diagnostic settings. The key details are:
1.Azure Blob Storage
- Logs are stored in a special
$logscontainer or in a container defined during diagnostic setup. - Suitable for long-term retention and compliance storage.
2.Storage Tiers (cost and access optimized):
- Hot Tier → frequently accessed logs (first 30–90 days).
- Cool Tier → infrequent access (90–365 days).
- Archive Tier → long-term retention (1–7+ years).
3.Archive in Log Analytics
- Data older than the analytics retention window is kept in long-term retention.
- Query access requires Search Jobs or restoring data back to the analytics tier.
References:
3. Compliance Requirements
Azure Storage and Log Analytics comply with a wide range of global and industry standards, including:
- ISO 27001, SOC 1/2/3, PCI DSS, HIPAA, FedRAMP, HITRUST, CSA STAR, and DoD.
- These certifications apply to services like Blob Storage, Azure Data Lake, Files, Queues, and Tables.
- Azure Compliance Offerings – Microsoft Learn
Best practices for compliance and audit readiness:
- Use Azure Policy to enforce retention and diagnostic settings.
- Automate lifecycle management via Azure Functions or Logic Apps.
- Regularly review logs and optimize costs using Azure Monitor Workbooks and Cost Management tools.
Summary:
- Activity Logs → 90-day default, exportable for longer retention.
- Log Analytics → up to 2 years analytics, 12 years long-term retention.
- Storage Accounts →
$logscontainer, with hot/cool/archive tiers for cost-efficient storage. - Compliance → Azure meets major global standards; lifecycle automation + policy enforcement recommended.
Kindly let us know if the above helps or you need further assistance on this issue.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.