Stackdriver Logging
Logs often play a critical role in many operational processes, including diagnostics, alerting, auditing, and analytics. Stackdriver Logging facilitates all of these activities by providing a single aggregated logging repository for all of your cloud resources. This includes user-provided applications, such as applications running on any GCP compute platform, managed services such as Cloud SQL; and auditing logs for project settings, infrastructure, and IAM policy changes.
In addition to aggregating logs across your Google Cloud project, Google Cloud Logging provides many powerful features, such as search, streaming, alerting, and exporting logs to other tools such as BigQuery. We've used Google Cloud Logging on a few occasions in previous chapters; here, we'll take a closer look at some of these features.
All logs in Stackdriver Logging share a uniform structure, known as the log entry. This structure includes both the logged information and several fields related to the...