You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Cloud Logging is Google Cloud's fully managed, real-time log management service. It ingests log data from Google Cloud services, on-premises environments, and other clouds, providing a centralised platform for storing, searching, analysing, and exporting logs. While metrics tell you what is happening, logs tell you why — providing the detail needed for debugging, auditing, and compliance.
Cloud Logging handles several types of logs:
| Log Type | Description | Examples |
|---|---|---|
| Platform logs | Generated automatically by Google Cloud services | Cloud SQL slow query logs, GKE node logs, Cloud Run request logs |
| Audit logs | Record administrative activity and data access | Who created a VM, who accessed a BigQuery table |
| User-written logs | Generated by your application code | Application errors, business events, debug output |
| Agent logs | Collected by the Ops Agent from VMs | System logs, application logs from files, custom log files |
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.