이 페이지에서는 Cloud Workstations에서 생성된 Google Cloud Platform 로그를 설명합니다.
개요
Cloud Logging은 Cloud Workstations와 같은 Google Cloud 서비스에서 플랫폼 로그 항목을 수신하고, 색인을 생성하고, 저장합니다. 플랫폼 로그는 사용 중인 Google Cloud 서비스를 더 잘 이해하고 문제를 디버깅하고 해결하는 데 유용한 시스템 정의 서비스별 로그입니다.
사용자 정의 감사 로깅은 요금이 부과되며 사용자가 리소스를 업데이트할 때 활동을 로깅합니다.
그러나 플랫폼 로깅은 요금이 부과되지 않으며 Cloud Workstations가 워크스테이션에 리소스를 할당할 때 활동을 로깅합니다.
Cloud Workstations는 다음 유형의 플랫폼 로그를 만듭니다.
디스크 할당: Cloud Workstations가 워크스테이션에 영구 디스크를 할당할 때 로그를 기록합니다. 이 플랫폼 로그의 logName 필드는 disk_assignments로 끝나며 logName=projects/$PROJECT/logs/workstations.googleapis.com%2Fdisk_assignments 쿼리로 로그 탐색기를 업데이트하여 선택할 수 있습니다.
인스턴스 할당: Cloud Workstations가 VM 인스턴스를 워크스테이션에 할당할 때 로깅합니다. 이러한 로그에는 VM 이름, VM ID, 내부 IP 주소, 외부 IP 주소(있는 경우)가 포함됩니다. 이 플랫폼 로그의 logName 필드는 vm_assignments로 끝나며 logName=projects/$PROJECT/logs/workstations.googleapis.com%2Fvm_assignments 쿼리로 로그 탐색기를 업데이트하여 선택할 수 있습니다.
워크스테이션 종료: Cloud Workstations가 워크스테이션을 종료하고 VM 인스턴스를 할당 해제할 때 로깅합니다. 이러한 로그에는 VM 이름, VM ID, 내부 IP 주소, 외부 IP 주소(있는 경우)가 포함됩니다. 이 플랫폼 로그의 logName 필드는 workstation_shutdowns로 끝나며 logName=projects/$PROJECT/logs/workstations.googleapis.com%2Fworkstation_shutdowns 쿼리로 로그 탐색기를 업데이트하여 선택할 수 있습니다.
로그 탐색기에서 Cloud Workstations 로그를 보는 방법에 대한 자세한 내용은 로그 보기를 참조하세요.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-12-21(UTC)"],[],[],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)."]]