Implementing observability practices and troubleshooting issues1 / 5
You need to export Cloud Logging logs to BigQuery for long-term analysis and correlation with other business data. How should you configure the log export?
CorrectIncorrect
Alex
To export Cloud Logging logs to BigQuery, create a log sink via the Log Router with a BigQuery dataset destination and an inclusion filter specifying which logs to route (docs.cloud.google.com/logging/docs/export/configure_export_v2). The Log Router evaluates each log entry against sink filters and streams matching entries to BigQuery in near real-time, enabling SQL-based analysis and correlation with business data. Why not the others? Scheduling a Cloud Function to copy logs adds unnecessary complexity, latency, and duplicates built-in Log Router functionality. There is no 'BigQuery integration' toggle in Logs Explorer—log export requires explicit sink configuration. A Dataflow pipeline is over-engineered for standard log export, which sinks handle natively. Exam tip: Log sinks support four destination types—BigQuery, Cloud Storage, Pub/Sub, and Cloud Logging buckets—each suited for different retention and analysis patterns.
Sourcecloud.google.com
Follow-up answers are available in the app. Create a free account — no credit card required.
Question 1 of 5
Create a free account