我可以看到超过30天的天蓝色应用服务性能日志 [英] Can I see azure app service performance logs older than 30 days
问题描述
在我们公司目前我们正在进行内部评估,我们需要从最初开始使用azure app服务时获得的数据。
In our company currently we are doing an internal assessment and we need the data from when we first started using azure app service.
目前我们只能查看过去30天的活动/效果历史记录,但我们需要生成过去4个月的报告。是否有任何选项可以在很长一段时间内获得性能历史记录(平均CPU使用率,平均内存使用率)?
Currently we can only see activity/performance history for last 30 days only but we need to generate report for last 4 months. Is there any option to get performance history (avg CPU usage, avg memory usage) for that long period of time?
推荐答案
嘿,
默认情况下,即使您使用免费套餐,Azure Monitor也会将您的Azure活动日志保留在Log Analytics工作区中90天。或者,如果您的工作区保留设置少于90天。如果您的工作区的保留时间超过
超过90天,则活动日志将根据工作区的保留期保留。
日志Analytics工作区免费收集活动日志,并将日志存储90天免费。如果您将日志存储的时间超过90天,则会对存储时间超过90天的数据产生数据保留费用。
您可以参考:
https://docs.microsoft.com/en-us/azure / azure-monitor / platform / collect-activity-logs
You may refer: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/collect-activity-logs
如果你'如果要保留超过30天的数据,您可以使用诊断设置将指标数据发送到blob存储: https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-overview-of-diagnostic-logs#诊断设置
If you’d like to retain more than 30 days of data, you can use Diagnostic Settings to send metric data into blob storage: https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-overview-of-diagnostic-logs#diagnostic-settings
这篇关于我可以看到超过30天的天蓝色应用服务性能日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!