I have created a GKE cluster(tried with both autopilot and standard). In that I saw that Cloud Logging billing service is being charged. As per documentation, it states that audit logs are used by google for monitoring purpose and when we checked logs it showed almost 350-400 logs/minute. My concern is that if there is a way when I can empty the logs so that I dont get charged or some configuration in account to do so.
Thanks
The number of logs you mention does seems excessive ... we did have an issue which should now be resolved which was adding unnecessary log entries.
As you mention, you cannot disable the Admin Activity logs. See https://cloud.google.com/stackdriver/docs/solutions/gke/installing#available-logs for enabling/disabling other types of GKE logs.
Hi, thanks for prompt response.
I have already kept all other services disabled still it is producing this amount of logs
Any chance you can post a sanitized sample of the logs you are seeing?
Hi, it is fixed. Previously I added exclusion filter for audit logs. But in reality that logs were stored in required bucket so not getting charged. Now I added container logs as well in exclusion and found noticeable difference. Thanks for the support.