{"insertId":"49945312_142868351806","jsonPayload":{"host_name":"hana1","host_ip_address":"10.10.238.233","available_version":"11.0.12.4","db_authentication":"Host","appliance_id":"142868351806","host_os_type":"Linux(SUSE Linux Enterprise Server 15 SP2)","host_id":"13889","disk_preference":"BLOCK","version_check":"Newer version","installed_version":"11.0.11.319","transport":"SAN Based","appliance_name":"sky-full-82959"},"resource":{"type":"backupdr.googleapis.com/ManagementConsole","labels":{"management_server_id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","resource_container":"projects/XXXXXXXXXXXX","location":"us-central1"}},"timestamp":"2024-07-25T10:37:30.772Z","logName":"projects/project_ID/logs/backupdr.googleapis.com%2Fgcb_connector_version","receiveTimestamp":"2024-07-25T10:39:30.216711646Z"}
[[["易于理解","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-09-04。"],[],[],null,["# Connector version logs\n\nThis page explains how to view the connector version logs that are created in\nCloud Logging. These logs provide information about the details of the\nconnector versions that are installed on your hosts. With the connector version\nlog, you can detect the hosts that have lower version connectors and plan for\nnecessary upgrades. These logs are generated every day.\n\nThe connector version logs display the following connector statuses:\n\n- **Current release**: No action is required.\n- **Upgrade needed**: The connector running on the host must be upgraded to the available version.\n- **Newer version**: The connector running on the host has a version higher than that available on the backup/recovery appliance.\n\nPermissions and roles\n---------------------\n\nYou need the [IAM](/iam/docs) permission `roles/logging.viewer` to view the\nconnector version logs. The *Logs Viewer* role gives you read-only access to\nview connector version logs of all backup/recovery appliances in the specified\nproject. For more information about the IAM permissions and roles\nthat apply to connector version logs data, see [Access control with IAM](/logging/docs/access-control).\n\nView connector version logs\n---------------------------\n\nYou can view Backup and DR connector version logs in Cloud Logging by using\nthe 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 Backup and DR connector version logs 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_connector_version** from the **Select Log name** drop-down.\n\n### gcloud\n\nThe Google Cloud CLI provides a command-line interface to the Logging API. To read your connector version log entries of backup/recovery appliances in a project, run the following command: \n\n gcloud logging read \"logName : projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/logs/backupdr.googleapis.com%2Fgcb_connector_version\"\n\nConnector version log format\n----------------------------\n\nBackup and DR connector version 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\": \"49945312_142868351806\",\n \"jsonPayload\": {\n \"host_name\": \"hana1\",\n \"host_ip_address\": \"10.10.238.233\",\n \"available_version\": \"11.0.12.4\",\n \"db_authentication\": \"Host\",\n \"appliance_id\": \"142868351806\",\n \"host_os_type\": \"Linux(SUSE Linux Enterprise Server 15 SP2)\",\n \"host_id\": \"13889\",\n \"disk_preference\": \"BLOCK\",\n \"version_check\": \"Newer version\",\n \"installed_version\": \"11.0.11.319\",\n \"transport\": \"SAN Based\",\n \"appliance_name\": \"sky-full-82959\"\n },\n \"resource\": {\n \"type\": \"backupdr.googleapis.com/ManagementConsole\",\n \"labels\": {\n \"management_server_id\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n \"resource_container\": \"projects/XXXXXXXXXXXX\",\n \"location\": \"us-central1\"\n }\n },\n \"timestamp\": \"2024-07-25T10:37:30.772Z\",\n \"logName\": \"projects/project_ID/logs/backupdr.googleapis.com%2Fgcb_connector_version\",\n \"receiveTimestamp\": \"2024-07-25T10:39:30.216711646Z\"\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 connector version 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_connector_version\"\n\nIf you are looking to view the connector version 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_connector_version\"\n jsonPayload.appliance_name=\"\u003cvar translate=\"no\"\u003eappliance_name\u003c/var\u003e\"\n\nIf you are looking for the connector version logs associated with a particular host. \n\n logName=\"projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/logs/backupdr.googleapis.com%2Fgcb_connector_version\"\n jsonPayload.host_name=\"\u003cvar translate=\"no\"\u003ehost_name\u003c/var\u003e\"\n\nIf you are looking to view the connector version logs where the upgrade is needed. \n\n logName=\"projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/logs/backupdr.googleapis.com%2Fgcb_connector_version\"\n jsonPayload.version_check=\"Upgrade Needed\"\n\nWhat's next\n-----------\n\n- To configure log-based alerts for Backup and DR Service, create a log query, using the [filter connector version logs](#log), and then [Configure log-based alerts](/backup-disaster-recovery/docs/configure-alerts)."]]