Shubham Sharma
Shubham Sharma

Reputation: 333

In GCP, I am getting billing in Stack Driver Logging

I haven't changed the retention period of _Default and _Required even though I am getting billing for this.

I have checked in the metrics browser global - Log Bytes ingested resources are:

bigquery_dataset, bigquery_dts_config, bigquery_project, bigquery_resource, build, cloud_composer_environment, cloud_dataproc_cluster, cloud_dataproc_job, cloud_function, cloud_run_revision, cloudsql_database, gce_instance, gce_instance_group, gce_target_pool, gce_bucket, gke_nodepool, http_load_balancer, k8s_cluster, k8s_container, k8s_node, k8s_pod, ml_job, uptime_url

Can anyone help me to trace why billing is coming? Thanks

Upvotes: 0

Views: 361

Answers (1)

Nahuel
Nahuel

Reputation: 178

As John Hanley explains in the comments, Google Cloud Platform charges for logging.

In order to disable logging, you have to:

  1. Go to APIs & Services > Library
  2. In the search bar, enter Stackdriver
  3. Disable the API

NOTE: Is it not recomended to disable the Logging API since it's useful for troubleshoot further problems that you may face in the future.

Upvotes: 1

Related Questions