The Wayback Machine - https://web.archive.org/web/20240119132918/https://www.geeksforgeeks.org/microsoft-azure-configuring-log-analytics-data-retention/
Open In App
Related Articles

Microsoft Azure – Configuring Log Analytics Data Retention

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report

Log Analytics collects data from a variety of sources and uses a powerful query language to give you insights into the operation of your applications and resources. Log Analytics’ cost depends on your choice of pricing tier, data retention, and which solutions are used. Let’s see how we can change the retention days for Log Analytics Workspace. Let’s dive into the implementation.

Implementation:

Follow the below steps to configure log analytics data retention

Step 1: Log in to Azure Portal.

Step 2: Access the Log Analytics Workspace >> Select your Log Analytics

Step 3: After selecting the select Log Analytics Workspace, Navigate to General >> Usage and estimated costs.

Step 4: Select Data retention >> Select Data retention Days.

Note: Retention for Application Insights data types default to 90 days and will get the workspace retention if it is over 90 days. To set the retention on these types to be less than 90 days, set the retention on each of these data types.

Step 5: Click on OK to save the changes. 

That’s it! You are done. At this point, you have successfully configured log analytics data retention in Microsoft Azure.

Lost in the complex landscape of DevOps? It's time to find your way! Enroll in our DevOps Engineering Planning to Production Live Course and set out on an exhilarating expedition to conquer DevOps methodologies with precision and timeliness.
What We Offer:
  • Comprehensive DevOps Curriculum
  • Expert Guidance for Streamlined Learning
  • Hands-on Experience with Real-world Scenarios
  • Proven Track Record with 100,000+ Successful DevOps Enthusiasts

Commit to GfG's Three-90 Challenge! Purchase a course, complete 90% in 90 days, and save 90% cost click here to explore.
Last Updated : 30 Mar, 2023
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads
Complete Tutorials