Q:

How to disable google load balancer logging?

How to disable google load balancer logging? We are currently generating 30TB (Yes TB not GB) of logs per month that we don't care about and never look at. It's quite a waste or resources.

A:

In Google Cloud Platform console, from Stackdriver Logging section, navigate to Resource usage, choose Cloud HTTP Load Balancer and select Disable log source from the options on the right. https://console.cloud.google.com/logs/usage
You can also see option to create Exclusion filter.
Reference: https://cloud.google.com/logging/docs/exclusions#excluding-resource
To delete the previous logs
gcloud logging logs delete projects/<PROJECT-ID>/logs/requests

