未清除Azure存储日志 [英] Azure storage logs not being purged

查看:70
本文介绍了未清除Azure存储日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的存储帐户诊断"设置中,保留(天)"设置为30.当我使用Azure存储资源管理器检查 $ logs 容器时,我仍然可以看到所有日志,因为我已在60多天前创建了存储帐户.

In my storage account Diagnostics settings I have "Retention (days)" set to 30. When I use the Azure Storage Explorer to check the $logs container, I can still see all the logs since I created my storage account, more than 60 days ago.

我对保留"设置的理解是,Azure会清除 $ logs 容器中超过指定天数的任何内容.我误会了吗,还是不对劲?

My understanding of the Retention setting was that Azure would purge the $logs container of anything older than the specified number of days. Did I misunderstand, or is something amiss?

推荐答案

是的,如果您在日志记录中为对象和请求类型设置了保留策略,则日志条目将在您在日志中设置的天数后删除.政策.在以下文档中的如何:配置日志记录"部分中查看更多详细信息, https://azure.microsoft.com/zh-CN/documentation/articles/storage-monitor-storage-account/.

Yes, if you set the retention policy under logging for the object and type of requests, the log entries will be deleted after number of days that you set in the policy. See more details under "How to: Configure Logging" section in the following documentation https://azure.microsoft.com/en-us/documentation/articles/storage-monitor-storage-account/.

您可以检查并确保未删除的条目是针对您未设置保留策略的对象和请求的吗?

Can you check and make sure that the entries that were left undeleted are for the objects and requests that you did not set retention policy?

这篇关于未清除Azure存储日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆