---
id: "asgard-ext-google-cloud-logging-monitoring"
lang: "zh-TW"
name: "Google Cloud Logging and Monitoring"
vendor: "Google"
product: "Google Cloud Logging 與 Cloud Monitoring"
category: "developer"
summary: "讓 Agent 搜尋每位終端用戶自己看得到的 Google Cloud 記錄、查看告警，不改任何設定。"
url: "https://www.asgard-ai.com/zh/extensions/asgard-ext-google-cloud-logging-monitoring"
docs: "https://cloud.google.com/logging/docs/reference/v2/rest"
source: null
usages: ["personal-account"]
produces: ["OAuthProvider","SkillSet","Agent"]
requires: {"asgard_cli":">=0.2.1","skills":[],"extensions":[],"platform":["connector"]}
command: "asgard-cli extension get asgard-ext-google-cloud-logging-monitoring"
handoff: "請用 asgard-cli 取得 asgard-ext-google-cloud-logging-monitoring 這個 Extension，帶我判斷要走哪幾條路線，再開始導入。"
updated: "2026-11-21"
---

# Google Cloud Logging and Monitoring

讓 Asgard 的 Agent 替每位終端用戶（例如組織成員）使用 Google Cloud Logging 與 Cloud Monitoring：

- 搜尋一個 Google Cloud 專案的記錄，例如某個服務最近一小時的錯誤
- 從稽核記錄查誰改了設定
- 查看告警政策，與目前還沒解決的告警

Agent 只讀，不修改記錄、告警政策或任何 Google Cloud 設定。每次搜尋的時間範圍有上限，回傳的記錄筆數也有上限。

## 要準備什麼

- 組織要用 Google Workspace。
- 一個 Google Cloud 專案，與這個專案裡的 OAuth client。沒有的話，FDE Agent 會一步一步帶著建（大約 15 分鐘）。OAuth client 可以設成「內部」，不用送 Google 審核。
- 每位終端用戶在 Agent 要讀的 Google Cloud 專案裡，要有檢視記錄與告警的權限。由這些專案的管理員設定。
- 記錄裡可能有個人資料或其他敏感的值。Agent 給終端用戶看的，只有本人在 Google Cloud 本來就看得到的內容。
