I would like to know if there is a way to periodically delete logs from inside Cloud Logging.
I have setup Firebase with Cloud Functions and i have an automatic Cloud Logging logs injection done for each function call.
I don't want especially to stop sending logs to Cloud Logging, but i would like to be able to manage my costs by deleting older logs.
You can set a retention policy on your Cloud Logging bucket to match with your requirements, which can auto-delete logs after between 1 day and 10 years.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With