Overview
ben wen zhu yao jie shao dang fa xian nin cun chu zai a li yun sds cun chu OSS zhong de wen jian bei shan chu hou, ru he cha kan a li yun sds cun chu OSS wen jian bei shan chu de xiang xi cao zuo ji lu, ding wei shi fou cun zai wu shan chu de qing kuang.
Background information
If you need to view the records of operations such as access and deletion of OSS files, you need to enable OSS Logging logs. For more information, see How to query the access and operation records of objects during access Object Storage Service (OSS). If you want to locate the deleted operation record, you need to filter the DELETE keyword in the access log to locate it. Example:
The following information is explained by 192.168.The IP of X.X will be deleted test20.jpg this picture file at this point in 17/Dec/2015:12:35:28. For more information about the log format, see Access log storage.
192.168.X.X - - [17/Dec/2015:12:35:28 +0800] "DELETE /test20%2Ejpg HTTP/1.1" 204 0 5 "-" "-" "xxxt.oss-cn-hangzhou.aliyuncs.com" "56723B90B1119BB2F00E2D9D" "true" "44404" "DeleteObject" "xxxtest" "test20.jpg" - 5 "-" 198 "44404" -231542 "-" "-"
References
- If an object is lost inexplicably, LifeCycle may be configured. For more information, see Configure lifecycle rules.
- For more information about how to prevent OSS files from being deleted by mistake, see How to prevent OSS files from being deleted or overwritten by mistake.
Applicable scope
- Object Storage Service (OSS)