Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How do I view failed or success logs for objects(upload/download) in GCP Storage Bucket

These logs arent seen on the logs explorer  

Solved Solved
1 2 1,380
1 ACCEPTED SOLUTION

Greetings @Dhanush27,

Welcome to the Google Cloud Community!

You should take a look at Usage logs & Storage Logs

In Cloud Storage, usage logs and storage logs are offered in a CSV file that you can download and view. What you may want for your case is the Usage logs as it provides information for all the requests made on a specified bucket and are created hourly. 

Once set up, Usage logs and Storage logs are created automatically as objects in the bucket that you specified. 

To setup log delivery for a specified bucket, follow Setting Up Log Delivery. then Check Logging Status.

Usage logs are generated hourly when there is activity to be reported. It's usually created 15 minutes after every hour. To download, follow Downloading Logs.

If the above option doesn't work, you can contact Google Cloud Support to further look into your case. Let me know if it helped, thanks!

View solution in original post

2 REPLIES 2

Greetings @Dhanush27,

Welcome to the Google Cloud Community!

You should take a look at Usage logs & Storage Logs

In Cloud Storage, usage logs and storage logs are offered in a CSV file that you can download and view. What you may want for your case is the Usage logs as it provides information for all the requests made on a specified bucket and are created hourly. 

Once set up, Usage logs and Storage logs are created automatically as objects in the bucket that you specified. 

To setup log delivery for a specified bucket, follow Setting Up Log Delivery. then Check Logging Status.

Usage logs are generated hourly when there is activity to be reported. It's usually created 15 minutes after every hour. To download, follow Downloading Logs.

If the above option doesn't work, you can contact Google Cloud Support to further look into your case. Let me know if it helped, thanks!

To add on to this request, can we route these logs to a pub/sub as we need these logs to be  forwarded automatically once the usage logs are generated 

Top Labels in this Space