Issue: I am trying to set up storage & access logging in GOOGLE CLOUD PLATFORM for all objects within a specific bucket, and have the data stored in another bucket. These objects being logged are mp3 files, that will be downloaded by users of my music website. I need logging so I can keep track of how many downloads each mp3 file(object) is receiving in the form of counts.
Bucket I need Logged: strmazimbabwe/dancehall/singles
Bucket where logs will be stored: strmazimbabwe/dancehall/download-loggging
I have been using the google shell command line, and am getting the same error. ive attached images showing the structure of our folders and error message in the command line. how can i resolve this please. Command line error object within folder i need logged
As the error message indicates, you can't specify part of bucket for logging, just an entire bucket.
strmazimbabwe/dancehall/singles
is not a bucket,strmazimbabwe
is the bucket. As you can't log a bucket to itself, create a new bucket, e.g.strmazimbabwe_logs
and run: