Unable to see access logs in my Google Storage Buc

2019-08-15 18:05发布

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>

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?

Thanks in advance for help,

Neelam Sharma

1条回答
Lonely孤独者°
2楼-- · 2019-08-15 18:29

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

查看更多
登录 后发表回答