Hello @Avinash Dondeti (TATA CONSULTANCY SERVICES LTD)
Thanks for using Q and A forum.
To access Azure that are older than 90 days without changing the existing retention you can follow these steps:
Step 1: Understand Azure Log Retention
Azure retains logs for a specified period (default is often 90 days). After this period, logs are typically deleted unless you a longer retention period.
Step 2: Use Azure Storage or Log Analytics
If you need logs older than 90 days, consider the following options:
- Azure Storage: If you have set up diagnostic settings to send logs to Azure Storage, you can access older logs directly from there.
- Log Analytics: If you have configured your application to send logs to Azure Log Analytics, you may have the option to retain logs for a longer period.
Step 3: Check Diagnostic Settings if your application is configured to send logs to either Azure Storage or Log Analytics:
- Go to the Azure portal.
- Navigate to your application resource.
- Under "Monitoring," select "Diagnostic settings."
- Check if logs are being sent to Azure Storage or Log Analytics.
Step 4: Query Logs in Logif applicable)
If your logs are in Log Analytics:
- Go to Azure Log Analytics workspace.
- Use Query Language (KQL) to query logs. For example:
AppTraces
Step 5: Access Azure Storage (if applicable)
If logs are stored in Azure Storage:
- Navigate to the Storage Account in the Azure portal.
- Go to the "Containers" section.
- Locate the container where logs are stored and browse through the logs.
Final Answer
To access Azure application logs older, check if logs to Azure Storage or Log Analytics. Use Azure Storage to retrieve logs directly or query logs in Log Analytics if configured
If this answers your query, do click Accept Answer
and Up-Vote for the same. And, if you have any further query do let us know.