在我的Google存储桶中看不到访问日志 [英] Unable to see access logs in my Google Storage Bucket

查看:108
本文介绍了在我的Google存储桶中看不到访问日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Google存储服务开发示例程序.设置日志记录并执行几天的操作后,我能够正确设置存储桶日志记录,但仍然看不到任何

I am developing a sample program using Google Storage service. I am able to set Bucket logging correctly, after setting logging and performing operations for days, still I am not able to see any csv file as logs in my destination logged bucket.

<Logging>
    <LogBucket>
        my_logs
    </LogBucket>
    <LogObjectPrefix>
        log_object_prefix
    </LogObjectPrefix>
</Logging>

我正在使用与上述相同的API来设置日志记录.在获取存储分区的登录状态时,它会显示为设置日志记录.

I am using same above API to set logging. On getting the status of logging on bucket, it show as set logging.

请让我知道设置日志中缺少什么?

Please let me know what is missing on setting logs?

预先感谢您的帮助,

Neelam Sharma

Neelam Sharma

推荐答案

cloud-storage-analytics@google.com需要具有对LogBucket的写入权限,如下所述:

cloud-storage-analytics@google.com needs to have write permission for your LogBucket as described here: https://developers.google.com/storage/docs/accesslogs

这篇关于在我的Google存储桶中看不到访问日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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