QuestionQ75

VerifiedEnsuring the successful operation of a cloud solution

You use Cloud Logging to capture application logs. You now need to use SQL to analyze the application logs in Cloud Logging, and you want to follow Google-recommended practices. What should you do?

Explanation

Upgrading the log bucket to use Log Analytics (called Observability Analytics in the current Cloud Logging docs) lets you query its logs with SQL on the Observability Analytics page. Optionally, create a linked BigQuery dataset to query the same logs from BigQuery or join them with other BigQuery data; creating a linked dataset doesn't ingest the log data into BigQuery, so nothing is exported or duplicated. Exporting logs to a Cloud Storage bucket (C, D) adds a separate copy and pipeline to maintain, and Gemini (A) only helps write queries; the logs still need a SQL-queryable store.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!