Skip to content
David Galiata
Go back

Change Azure Log Analytics Retention

Change Azure Log Analytics Retention

I am currently working on a project and had to dive into backups and retention of storage accounts and logs stored in the Azure Log Analytics workspace. After digging around a little, I found that by default, Application Insights and Log Analytics have a data retention of 90 days. You can opt to extend the retention up to 730 days. Below are the steps to do this.

Azure portal sidebar with "Usage and estimated costs" highlighted under the General section

The Usage and estimated costs blade, with Data Retention in the toolbar above the pricing tier details

Data Retention dialog with the slider set to 30 days, noting 31 days are included with the pricing plan

Note that increasing the data retention, will result in additional Azure costs. By default, logging from the engine includes 90 days of retention for data stored in the Log Analytics workspace of Application Insights.

The retention can also be modified for specific data tables within a Log Analytics workspace. If you need to target specific data types, please read this article.


Share this post:

Previous Post
Configure Azure SQL Backup Retention
Next Post
AWS Cloud Resume Challenge Part 1