Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

log storage volume summary via gcloud

Hiya,

Any pointers on getting log storage summary (e.g. 1.3TiB  for previous month's usage or 2TiB MTD) via gcloud cli?

0 1 563
1 REPLY 1

aleo
Former Googler

Hello,

Based on the question provided; It would seem that the feature of getting log storage summary via gCloud CLI is currently not possible in GCP. However, I would recommend filling a feature request on Issue Tracker in order to have the Cloud Logging team verify if this feature could be added in the near future.

 

In addition, I would recommend reviewing the following resources in the meantime below in order to learn more about how you can better manage logging storage on GCP:

1. Usage logs & storage logs:

https://cloud.google.com/storage/docs/access-logs
2. Use the Logs Dashboard:

https://cloud.google.com/logging/docs/view/dashboard

3. Monitor your logs:

https://cloud.google.com/logging/docs/alerting/monitoring-logs