Integrations · Google Logging
Guild agents list, tail, and write Google Cloud Logging entries, manage sinks, and create logs-based metrics on your team’s behalf. Guild stores the OAuth credential server-side and injects it into every request, so agent code never sees it. Every call passes through credential policies you define, and the full request history is available in audit logs.
Book a demo
See how teams govern agents that use Google Logging.
Start free
Connect Google Logging and scope your first agent.
What the Google Logging integration exposes
The tools cover log entries (list, tail, write, and copy), log buckets and views, sinks, exclusions, and logs-based metrics. Billing-account and folder scopes are included alongside project-level operations. Agents can also read CMEK and general settings and manage long-running operations tied to asynchronous bucket changes.How it works
1
Open Credentials in Guild
Go to Access & setup > Credentials in Guild. The page lists services you can connect.
2
Authorize with Google
Click Google Logging and complete the OAuth flow with a Google account that has Logs Viewer permissions. Guild refreshes the token automatically.
3
Add tools to your agent
Import googleLoggingTools and spread it into your agent’s tools object. Use pick() with the google_logging_ prefix to include only the tools your agent needs.
Why Google Logging access needs governing
Google Cloud Logging holds operational data across projects, folders, billing accounts, and organizations. An agent with an unrestricted credential can list or write log entries, create or remove sinks, and update CMEK settings. Guild’s credential policies let you write ALLOW and DENY rules that the credential proxy enforces before any request reaches Google, limiting which operations each agent or workspace can run on which resources. Guild stores the OAuth token server-side and injects it only after the policy check passes. Agent code, prompts, and containers never see the credential. You can scope a credential to one workspace, one agent, or one team member using Guild’s credential scoping controls, so a shared Google account does not give every agent the same reach. Teams that need a full deny-by-default posture can delete the auto-created allow-all policy once scoped rules cover everything agents should reach.About the Google Logging integration
The@guildai-services/guildai~google-logging package gives your agents access to Google Cloud Logging for ingesting, searching, and analyzing logs.
Authentication
- Type: OAuth 2.0
- Token management: Refreshed automatically
Setup
1
Open Credentials
Go to Credentials in Guild.
2
Connect Google Logging
Click Google Logging and authorize with a Google account that has Logs Viewer permissions.
Usage
Selecting specific tools
Tools are named with thegoogle_logging_ prefix. Use pick() to include only what your agent needs.
Tools
Tools in the latest published version ofguildai~google-logging:
All 36 tools
All 36 tools
Frequently asked questions
Can my agent tail log entries in real time?
Can my agent tail log entries in real time?
Yes. The google_logging_entries_tail tool performs a streaming read of log entries as they are received, so an agent can monitor a live log stream.
Does Guild support webhook events from Google Logging?
Does Guild support webhook events from Google Logging?
No. The catalog entry for this integration lists no webhook events, so agents cannot be triggered by push notifications from Google Cloud Logging. Use polling with google_logging_entries_list or google_logging_entries_tail instead.
Can I limit an agent to read-only access to Google Logging?
Can I limit an agent to read-only access to Google Logging?
Yes. Write a credential policy that denies write and delete operations, or restricts allowed HTTP methods to GET. Guild’s credential proxy enforces the policy before any request reaches Google, regardless of what the agent requests.
Can one Google credential serve all my workspaces?
Can one Google credential serve all my workspaces?
Yes. A credential connected at the account scope serves every workspace the account owns by default. You can also scope a credential to a single workspace, a single member, or a single agent if different teams need different Google accounts.
Put a governed agent on Google Logging this week
Book a demo
See how teams govern agents that use Google Logging.
Start free
Connect Google Logging and scope your first agent.