Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change retention duration for Azure Application Insights?

At the moment most of the data retained for 90 days by default. I was wondering if there way to change this setting to 30-40 days. I know that I can export them to keep the data longer but what I'm looking for is mainly keep the data for shorter duration for the upcoming regulations.

like image 652
erincerol Avatar asked Feb 28 '18 17:02

erincerol


People also ask

How to change data retention in Azure application insights?

To change the retention, from your Application Insights resource, go to the Usage and Estimated Costs page and select the Data Retention option: Show activity on this post. It is now available as an option in the Azure portal.

How do I change the retention period for application insights?

Different retention periods can be selected for each Application Insights resource. The full set of retention periods includes 30, 60, 90, 120, 180, 270, 365, 550 and 730 days. To change the data retention period, go to the Usage and Estimated Costs page and select the Data Retention option.

How long does Azure time series insights retain data?

Each Azure Time Series Insights environment has a setting to configure Data retention time. The value spans from 1 to 400 days. The data is deleted based on the environment storage capacity or retention duration (1-400), whichever comes first. Each Azure Time Series Insights environment has an additional setting Storage limit exceeded behavior.

How long can I keep data in Azure Resource Manager?

You can keep data in interactive retention between 4 and 730 days. You can set the archive period for a total retention time of up to 2,555 days (seven years). Each table is a subresource of the workspace it's in. For example, you can address the SecurityEvent table in Azure Resource Manager as: The table name is case-sensitive.


2 Answers

Sometimes the only answer is a no. In this case, you can't. From the docs:

Raw data points (that is, items that you can query in Analytics and inspect in Search) are kept for up to 90 days. If you need to keep data longer than that, you can use continuous export to copy it to a storage account. Aggregated data (that is, counts, averages and other statistical data that you see in Metric Explorer) are retained at a grain of 1 minute for 90 days.

I remember that a long time ago the pricing tier dictated the maximum retention period but it is now fixed to 90 days for all plans.

You can try give your feedback / ask for this feature here.

like image 78
Peter Bons Avatar answered Sep 28 '22 18:09

Peter Bons


Update

The default retention for Application Insights resources is 90 days. Different retention periods can be selected for each Application Insights resource. The full set of available retention periods is 30, 60, 90, 120, 180, 270, 365, 550 or 730 days.

Note: If you need to keep data longer than 730 days, you can use Continuous Export to copy it to a storage account during data ingestion.

To change the retention, from your Application Insights resource, go to the Usage and Estimated Costs page and select the Data Retention option:

enter image description here

Reference

like image 28
Jayendran Avatar answered Sep 28 '22 19:09

Jayendran