我们正在遵循这个博客[1]通过aws存储网关自动恢复归档对象。但是正如我们在博客文章中评论的那样,我们没有找到type: InaccessibleStorageClass
的日志。但是对于type: FileSystemAudit
。为什么没有出现这种错误类型的日志?
{
"severity": "ERROR",
"bucket": "mybucket",
"roleArn": "arn:aws:iam::123456789101:role/sts-test",
"source": "share-E1B9B18A",
"type": "InaccessibleStorageClass",
"operation": "S3UploadFailure",
"key": "myfile.txt",
"gateway": "sgw-B8D938D1",
"timestamp": "1565740862516"
}
{
"sourceAddress": xxxxxxxxx,
"clientUid": xxxxxxxxx,
"source": xxxxxxxxx,
"type": "FileSystemAudit",
"version": "1.0",
"objectType": "File",
"bucket": xxxxxxxxx,
"clientGid": xxxxxxxxx,
"objectName": "/test-windows/lambda.png",
"shareName": xxxxxxxxx,
"operation": "ReadData",
"gateway": xxxxxxxxx,
"timestamp": "1657016695584",
"status": "Failure"
}
1
似乎没有找到此类型,因为我们选择的是文件共享的日志组,而不是存储网关的日志组。存储网关日志组是具有此特定类型的日志组。不管怎样,还是谢谢你。