Topic 9 Question 53
If you have configured Stackdriver Logging to export logs to BigQuery, but logs entries are not getting exported to BigQuery, what is the most likely cause?
The Cloud Data Transfer Service has not been enabled.
There isn't a firewall rule allowing traffic between Stackdriver and BigQuery.
Stackdriver Logging does not have permission to write to the BigQuery dataset.
The size of the Stackdriver log entries being exported exceeds the maximum capacity of the BigQuery dataset.
解説
When you create a sink, Stackdriver Logging creates a new service account for the sink, called a unique writer identity. In order to write logs to a BigQuery dataset, you must grant the sink's writer identity either Can edit permission or the Writer role. It is not necessary to create a firewall rule to allow traffic between Stackdriver and BigQuery. The Cloud Data Transfer Service is for importing data to Google Cloud Platform from an external source. BigQuery can easily handle any volume of Stackdriver logs. Reference: https://cloud.google.com/logging/docs/export/configure_export_v2#errors_exporting_to_bigquery
コメント(4)
explanation is absolutely correct
👍 4mpguard2020/02/15C, for sure
👍 3gfhbox00832020/06/09C is correct for sure
👍 3ga2021/02/25
シャッフルモード