I am looking into options for retaining data beyond the 31 days that Azure Log Analytics supports. I tried reading the documentation, but I haven’t been able to figure it out yet. How should this be architected? Is the expectation that the logs should be archived to a cold Azure Storage account outside of this using some other method from the data source, or is there a way to route the parsed log data from Azure Analytics Logs to an Azure Storage account?
相关问题
- Azure alert only fired once
- Azure Monitor Alerts using webhook to Microsoft Te
- How to query Log Analytics data into Azure Data Ex
- How to retain data in Azure Log Analytics beyond t
- Unable to add Custom logs to Log Analytics
相关文章
- How to retain data in Azure Log Analytics beyond t
- Unable to add Custom logs to Log Analytics
- How to create comments in Azure Log Analytics
- Connecting Azure Activity Log to Log Analytics ins
- 天青类函数使用天青日志分析设置数据(Setup data used by Azure Log Ana
- 在蔚蓝的日志分析.NET SDK跨工作区查询(Cross-workspace queries in
- RoleManager.WriteToLog in Azure Development Fabric
- Azure Log Analytics Query with WHERE clause produc
If you are not using a free tier, you could change Log Analytics
data retention
settings up to 730 days. Read more details here.Generally, you could do the following things with diagnostic logs.
Depend on your usage, you could select to store these logs in a storage account. Here is a sample Powershell script to show how to convert Storage Analytics log data to JSON format and post the JSON data to a Log Analytics workspace.
References: Query Azure Storage analytics logs in Azure Log Analytics
I prefer summarized log should be stored outside of Log Analytics. Can we cascade the query result to backup to other cold storage like DataLake, DataBricks, ADX ? So VM > Monitoring > KQLQuery > Storage path is more flexible. And it might realize consistent summary between monitoring (using KQL & dashboard) in log analytics and long term analytics (using DataLake etc...) outside.
And of course support of automation by Azure Data Factory or LogicApps are highly appreciated.