이 페이지에서는 백업/복구 어플라이언스용 Cloud Logging에서 생성한 백업 및 DR 서비스 스토리지 리소스 사용량 로그를 보는 방법을 설명합니다.
스토리지 리소스 사용량 로그는 애플리케이션 및 가상 머신 (VM)에서 실행하는 데이터 보호 활동에 관한 필수적인 통계를 제공합니다.
이러한 로그에는 보호된 데이터의 양에 관한 자세한 정보가 포함됩니다.
권한 및 역할
스토리지 리소스 사용량 로그를 보려면 IAM 권한 roles/logging.viewer가 필요합니다. 로그 뷰어 역할은 지정된 프로젝트의 모든 백업/복구 어플라이언스의 스토리지 리소스 사용량 로그를 볼 수 있는 읽기 전용 액세스 권한을 부여합니다. 스토리지 리소스 사용량 로그 데이터에 적용되는 IAM 권한과 역할에 대한 자세한 내용은 IAM으로 액세스 제어를 참고하세요.
저장용량 리소스 사용률 로그 보기
Google Cloud 콘솔과 Google Cloud CLI를 사용하여 Cloud Logging에서 백업 및 DR 서비스 스토리지 리소스 사용량 로그를 볼 수 있습니다.
콘솔
Google Cloud 콘솔에서 로그 탐색기를 사용하여 백업/복구 어플라이언스의 백업 및 DR 서비스 스토리지 리소스 사용량 로그 항목을 검색할 수 있습니다.
Google Cloud 콘솔에서 Logging > Logs Explorer로 이동합니다.
기존 Cloud 프로젝트를 선택합니다.
쿼리 작성 도구 창의 로그 이름 선택 드롭다운에서 gcb_backup_storage_utilization을 선택합니다.
gcloud
Google Cloud CLI는 Cloud Logging API에 명령줄 인터페이스를 제공합니다.
프로젝트에서 백업/복구 어플라이언스의 로그 항목을 읽으려면 다음 명령어를 실행합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[[["\u003cp\u003eThis page explains how to access and interpret Backup and DR Service storage resource utilization logs in Cloud Logging, which detail data protection activities for applications and virtual machines.\u003c/p\u003e\n"],["\u003cp\u003eYou need the \u003ccode\u003eroles/logging.viewer\u003c/code\u003e IAM permission to view these logs, granting read-only access to storage resource utilization data for all backup/recovery appliances in your project.\u003c/p\u003e\n"],["\u003cp\u003eLogs can be accessed through the Google Cloud console's Logs Explorer by selecting the \u003ccode\u003egcb_backup_storage_utilization\u003c/code\u003e log name or via the gcloud CLI with a specific command to read the log entries.\u003c/p\u003e\n"],["\u003cp\u003eEach log entry includes fields like Appliance name, Storage type, Pool name, Total capacity, Used capacity, Appliance ID, and Utilization %, providing comprehensive information about storage resource usage.\u003c/p\u003e\n"],["\u003cp\u003eCustom queries can be written to view specific logs, such as those for a particular appliance, pool, storage type, or to filter by utilization percentage, enabling detailed analysis of storage resource utilization.\u003c/p\u003e\n"]]],[],null,["# Storage resource usage logs\n\nThis page explains how to view the Backup and DR Service storage resource\nutilization logs created by Cloud Logging for backup/recovery appliances.\nThe storage resource utilization logs provide essential insights into the data\nprotection activities performed by applications and virtual machines (VMs).\nThese logs include detailed information about the amount of protected data.\n\nPermissions and roles\n---------------------\n\nYou need the [IAM](/iam/docs) permission `roles/logging.viewer` to view the\nstorage resource utilization logs. The Logs Viewer role gives you\nread-only access to view storage resource utilization logs of all\nbackup/recovery appliances in the specified project. For more information about\nthe IAM permissions and roles that apply to storage resource utilization logs\ndata, see [Access control with IAM](/logging/docs/access-control).\n\nView storage resource utilization logs\n--------------------------------------\n\nYou can view Backup and DR Service storage resource utilization logs in Cloud Logging\nby using the Google Cloud console and the Google Cloud CLI. \n\n### Console\n\nIn the Google Cloud console, you can use the **Logs Explorer** to retrieve the\nBackup and DR Service storage resource utilization log entries for your backup/recovery appliances:\n\n1. In the Google Cloud console, go to the **Logging** \\\u003e **Logs Explorer**.\n2. Select an existing Cloud project.\n3. In the **Query builder** pane, select **gcb_backup_storage_utilization** from the **Select Log name** drop-down.\n\n### gcloud\n\nThe Google Cloud CLI provides a command-line interface to the Cloud Logging API.\nTo read your log entries of backup/recovery appliances in a project, run the\nfollowing command: \n\n ```sh\n gcloud logging read \"logName : projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/logs/backupdr.googleapis.com%2Fgcb_backup_storage_utilization\" --project=\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e\n ```\n\nStorage resource utilization log format\n---------------------------------------\n\nBackup and DR Service storage resource utilization log entries include the following fields:\n\nThe following sample is an example log entry logged on a backup/recovery appliance `appliance-test5-64573`. \n\n {\n \"insertId\": \"3302897_145859162970\",\n \"jsonPayload\": {\n \"appliance_id\": \"145859162970\",\n \"appliance_name\": \"appliance-test5-64573\"\n \"pool_name\": \"act_per_pool000\",\n \"storage_type\": \"perf\",\n \"total_capacity_in_gib\": 4075.52,\n \"used_capacity_in_gib\": 163.84,\n \"utilization_percentage\": 4.020100502509347,\n },\n \"resource\": {\n \"type\": \"backupdr.googleapis.com/ManagementConsole\",\n \"labels\": {\n \"location\": \"us-central1\",\n \"resource_container\": \"projects/xxxxxxxxxxxx\",\n \"management_server_id\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n }\n },\n \"timestamp\": \"2024-03-12T03:03:02.170Z\",\n \"logName\": \"projects/project_ID/logs/backupdr.googleapis.com%2Fgcb_backup_storage_utilization\",\n \"receiveTimestamp\": \"2024-03-12T03:03:06.740899360Z\"\n }\n\nSample queries\n--------------\n\nTo view selected logs, you can write custom storage resource utilization queries in the query section\n\nUse the following query to view all the storage resource utilization logs associated with backup/recovery appliances for a given \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: \n\n logName=\"projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/logs/backupdr.googleapis.com%2Fgcb_backup_storage_utilization\"\n\nUse the following query for specific storage resource details that run for a specific resource. \n\n logName=\"projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/logs/backupdr.googleapis.com%2Fgcb_backup_storage_utilization\"\n jsonPayload.appliance_name=\"\u003cvar translate=\"no\"\u003eappliance_name\u003c/var\u003e\"\n\nUse the following query for storage resource details that run for applications for a specific pool. \n\n logName=\"projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/logs/backupdr.googleapis.com%2Fgcb_backup_storage_utilization\"\n jsonPayload.pool_name=\"\u003cvar translate=\"no\"\u003epool_name\u003c/var\u003e\"\n\nUse the following query for specific storage types. \n\n logName=\"projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/logs/backupdr.googleapis.com%2Fgcb_backup_storage_utilization\"\n jsonPayload.storage_type=(\"\u003cvar translate=\"no\"\u003estorage_type\u003c/var\u003e\")\n\nUse the following query to find applications with utilization percentage \\\u003c 50%. \n\n logName=\"projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/logs/backupdr.googleapis.com%2Fgcb_backup_storage_utilization\"\n jsonPayload.utilization_percentage \u003c 50\n\nWhat's next\n-----------\n\n- To configure log-based alerts for Backup and DR Service, create a log query, using the [filter storage utilization logs](#log), and then [Configure log-based alerts](/backup-disaster-recovery/docs/configure-alerts)."]]