[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-11。"],[],[],null,["# Cloud Workstations platform logging\n\nThis page describes Google Cloud platform logs created by\nCloud Workstations.\n\nOverview\n--------\n\nCloud Logging receives, indexes, and stores platform log entries from\nGoogle Cloud services, such as Cloud Workstations. Platform logs are\nsystem-defined, service-specific logs that can help you debug and troubleshoot\nissues, as well as better understand the Google Cloud\nservices you're using.\n\nUser-defined\n[audit logging](/workstations/docs/audit-logging)\nis chargeable and logs activity when a user updates resources.\n[Platform logging](/logging/docs/api/platform-logs),\nhowever, is non-chargeable and logs activity when Cloud Workstations assigns\nresources to a workstation.\n\nCloud Workstations creates the following types of platform logs:\n\n- **Disk assignments:** Logs when Cloud Workstations assigns a persistent disk\n to a workstation. The `logName` field of this platform log ends with\n `disk_assignments` and can be selected by updating the Logs Explorer\n with the query `logName=projects/$PROJECT/logs/workstations.googleapis.com%2Fdisk_assignments`.\n\n- **Instance assignments:** Logs when Cloud Workstations assigns a VM instance\n to a workstation. These logs contain the VM name, VM ID, internal IP address,\n and external IP address (if present). The `logName` field of this platform\n log ends with `vm_assignments` and can be selected by updating the\n Logs Explorer with the query\n `logName=projects/$PROJECT/logs/workstations.googleapis.com%2Fvm_assignments`.\n\n- **Workstation shutdowns:** Logs when Cloud Workstations shuts down a workstation\n and unassigns the VM instance. These logs contain the VM name, VM ID, internal IP address,\n and external IP address (if present). The `logName` field of this platform\n log ends with `workstation_shutdowns` and can be selected by updating the\n Logs Explorer with the query\n `logName=projects/$PROJECT/logs/workstations.googleapis.com%2Fworkstation_shutdowns`.\n\nFor information about how to view Cloud Workstations logs in\n[Logs Explorer](/logging/docs/view/logs-explorer-interface),\nsee\n[View logs](/workstations/docs/audit-logging#viewing_logs).\n\nWhat's next\n-----------\n\n- Learn more about\n [Cloud Workstations logging API](/logging/docs/api/platform-logs#workstations).\n\n- Understand and manage\n [Google Cloud platform logs](/logging/docs/api/platform-logs#managing-logs).\n\n- Learn more about\n [Cloud Workstations audit logging](/workstations/docs/audit-logging)."]]