Stay organized with collections
Save and categorize content based on your preferences.
This page explains how to view the mounted image logs created in Cloud Logging.
These logs provide information about the details of the mounted images present
on the backup/recovery appliance. These logs are generated once every eight hours.
Permissions and roles
You need the IAM permission roles/logging.viewer to view the
mounted image logs. The Logs Viewer role gives you read-only access to view
mounted image logs of all backup/recovery appliances in the specified project.
For more information about the IAM permissions and roles that apply to mounted
image logs data, see Access control with IAM.
View mounted image logs
You can view Backup and DR Service mounted image logs in Cloud Logging by using
the Google Cloud console and the Google Cloud CLI.
Console
In the Google Cloud console, go to the Logging > Logs Explorer.
Select an existing Cloud project.
In the Query builder pane, select gcb_mounted_images from the Select Log name list.
gcloud
The Google Cloud CLI provides a command-line interface to the Cloud Logging API. To read your log entries of backup/recovery appliances in a project, run the following command:
The Google Cloud CLI provides a command-line interface to the Logging API.
To read your mounted image log entries of backup/recovery appliances in a project,
run the following command:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[[["\u003cp\u003eThis document outlines how to access and view mounted image logs in Cloud Logging, which are generated every eight hours for backup/recovery appliances.\u003c/p\u003e\n"],["\u003cp\u003eTo access these logs, you need the \u003ccode\u003eroles/logging.viewer\u003c/code\u003e IAM permission, providing read-only access to all backup/recovery appliance logs within a specified project.\u003c/p\u003e\n"],["\u003cp\u003eMounted image logs can be viewed via the Google Cloud console's Logs Explorer by selecting \u003ccode\u003egcb_mounted_images\u003c/code\u003e or via the gcloud CLI using a specific command that includes the project ID.\u003c/p\u003e\n"],["\u003cp\u003eThe logs provide details such as the appliance ID, mounted hostname, recovery point date, resource size, and various source image details.\u003c/p\u003e\n"],["\u003cp\u003eCustom queries can be built using specific log and payload field names to filter by project, appliance, resource or host.\u003c/p\u003e\n"]]],[],null,["# Mounted image logs\n\nThis page explains how to view the mounted image logs created in Cloud Logging.\nThese logs provide information about the details of the mounted images present\non the backup/recovery appliance. These logs are generated once every eight hours.\n\nPermissions and roles\n---------------------\n\nYou need the [IAM](/iam/docs) permission `roles/logging.viewer` to view the\nmounted image logs. The Logs Viewer role gives you read-only access to view\nmounted image logs of all backup/recovery appliances in the specified project.\nFor more information about the IAM permissions and roles that apply to mounted\nimage logs data, see [Access control with IAM](/logging/docs/access-control).\n\nView mounted image logs\n-----------------------\n\nYou can view Backup and DR Service mounted image logs in Cloud Logging by using\nthe Google Cloud console and the Google Cloud CLI. \n\n### Console\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_mounted_images** from the **Select Log name** list.\n\n### gcloud\n\nThe Google Cloud CLI provides a command-line interface to the Cloud Logging API. To read your log entries of backup/recovery appliances in a project, run the following command:\n\nThe Google Cloud CLI provides a command-line interface to the Logging API.\nTo read your mounted image log entries of backup/recovery appliances in a project,\nrun the following command: \n\n ```sh\n gcloud logging read \"logName : projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/logs/backupdr.googleapis.com%2Fgcb_gcb_mounted_images\" --project=\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e\n ```\n\nMounted images log format\n-------------------------\n\nBackup and DR Service mounted images log entries include the following fields:\n\nThe following sample is an example log entry logged on a backup/recovery appliance `sky-full-82959`. \n\n {\n \"insertId\": \"49459606_142868351806\",\n \"jsonPayload\": {\n \"source_resource_id\": \"14617\",\n \"mounted_image_age_in_days\": 72,\n \"source_host_id\": \"14348\",\n \"source_image_type\": \"snapshot\",\n \"appliance_name\": \"sky-full-82959\",\n \"resource_size_in_gib\": 0.31,\n \"mounted_host_id\": \"14348\",\n \"restorable_object\": \"/postgre11-data\",\n \"read_mode\": \"Balanced\",\n \"storage_consumed_in_gib\": 0,\n \"resource_virtual_size_in_gib\": 47.99,\n \"recovery_point_date\": \"2024-05-03T18:15:46Z\",\n \"appliance_id\": \"142868351806\",\n \"source_resource_name\": \"/postgre11-data\",\n \"source_image_name\": \"Image_0014977\",\n \"resource_type\": \"FileSystem\",\n \"mounted_host_name\": \"postgres11-1\",\n \"source_image_expiration_date\": \"2024-05-05T18:16:07.530Z\",\n \"mounted_image_name\": \"Image_0015394\",\n \"user_name\": \"AGMUser(pkmishra@google.com:16924)\",\n \"mounted_resource_name\": \"postgres1\",\n \"last_mount_date\": \"2024-05-03T18:23:25Z\",\n \"mounted_resource_label\": \"postgres1\",\n \"source_host_name\": \"postgres11-1\"\n },\n \"resource\": {\n \"type\": \"backupdr.googleapis.com/ManagementConsole\",\n \"labels\": {\n \"resource_container\": \"projects/xxxxxxxxxxxx\",\n \"management_server_id\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n \"location\": \"us-central1\"\n }\n },\n \"timestamp\": \"2024-07-15T08:29:56.885Z\",\n \"logName\": \"projects/project_ID/logs/backupdr.googleapis.com%2Fgcb_mounted_images\",\n \"receiveTimestamp\": \"2024-07-15T08:36:04.071156102Z\"\n }\n\nSample queries\n--------------\n\nTo view selected logs, you can write custom queries in the query section.\n\nUse the following query to view all the mounted image logs 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_mounted_images\"\n\nIf you are looking to view mounted image details log associated with a backup/recovery appliance. \n\n logName=\"projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/logs/backupdr.googleapis.com%2Fgcb_mounted_images\"\n jsonPayload.appliance_name=\"\u003cvar translate=\"no\"\u003eappliance_name\u003c/var\u003e\"\n\nIf you are looking to view mounted image details log for a given resource. \n\n logName=\"projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/logs/backupdr.googleapis.com%2Fgcb_mounted_images\"\n jsonPayload.source_resource_name=\"\u003cvar translate=\"no\"\u003eresource_name\u003c/var\u003e\"\n\nIf you are looking for the view mounted image details log associated with a particular host. \n\n logName=\"projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/logs/backupdr.googleapis.com%2Fgcb_unprotected_resource\"\n jsonPayload.source_host_name=\"\u003cvar translate=\"no\"\u003ehost_name\u003c/var\u003e\"\n\nWhat's next\n-----------\n\n- To configure log-based alerts for Backup and DR Service, create a log query, using the [filter mounted images logs](#log), and then [Configure log-based alerts](/backup-disaster-recovery/docs/configure-alerts)."]]