Skip to main content
Google Cloud Documentation
Documentation
  • Get Started
  • Get Started with Google Cloud
  • Product List
  • Cloud Customer Care
  • Featured Products
  • Agent Platform
  • Apigee API Management
  • BigQuery
  • Compute Engine
  • Cloud CDN
  • Cloud Run
  • Cloud Storage
  • Cloud SQL
  • Gemini Enterprise
  • Google Kubernetes Engine
  • Looker
  • Cross-product Tools
  • Access and resources management
  • Costs and usage management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
  • Technology Areas
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Industry solutions
  • Migration
  • Networking
  • Observability and monitoring
  • Security
  • Storage
/
Console
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Português
  • Português – Brasil
  • עברית
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
  • Cloud Logging
Start free
Overview Guides Reference Samples Resources
Google Cloud Documentation
  • Documentation
    • More
    • Overview
    • Guides
    • Reference
    • Samples
    • Resources
  • Console
  • Cloud Logging
  • All APIs and references
  • Client libraries
  • Cloud Logging API v2
    • Overview
    • Enable the API
    • REST reference
      • Overview
      • TopLevel
        • getCmekSettings
        • getSettings
        • updateCmekSettings
        • updateSettings
      • REST Resources
      • billingAccounts
        • Overview
        • getCmekSettings
        • getSettings
      • billingAccounts.exclusions
        • Overview
        • create
        • delete
        • get
        • list
        • patch
      • billingAccounts.locations.buckets
        • Overview
        • create
        • createAsync
        • delete
        • get
        • list
        • patch
        • undelete
        • updateAsync
      • billingAccounts.locations.buckets.links
        • Overview
        • create
        • delete
        • get
        • list
      • billingAccounts.locations.buckets.views
        • Overview
        • create
        • delete
        • get
        • list
        • patch
      • billingAccounts.locations.buckets.views.logs
        • Overview
        • list
      • billingAccounts.locations.operations
        • Overview
        • cancel
        • get
        • list
      • billingAccounts.locations.recentQueries
        • Overview
        • list
      • billingAccounts.locations.savedQueries
        • Overview
        • create
        • delete
        • get
        • list
        • patch
      • billingAccounts.logs
        • Overview
        • delete
        • list
      • billingAccounts.sinks
        • Overview
        • create
        • delete
        • get
        • list
        • patch
        • update
      • entries
        • Overview
        • copy
        • list
        • tail
        • write
      • exclusions
        • Overview
        • create
        • delete
        • get
        • list
        • patch
      • folders
        • Overview
        • getCmekSettings
        • getSettings
        • updateSettings
      • folders.exclusions
        • Overview
        • create
        • delete
        • get
        • list
        • patch
      • folders.locations.buckets
        • Overview
        • create
        • createAsync
        • delete
        • get
        • list
        • patch
        • undelete
        • updateAsync
      • folders.locations.buckets.links
        • Overview
        • create
        • delete
        • get
        • list
      • folders.locations.buckets.views
        • Overview
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • patch
        • setIamPolicy
        • testIamPermissions
      • folders.locations.buckets.views.logs
        • Overview
        • list
      • folders.locations.logScopes
        • Overview
        • create
        • delete
        • get
        • list
        • patch
      • folders.locations.operations
        • Overview
        • cancel
        • get
        • list
      • folders.locations.recentQueries
        • Overview
        • list
      • folders.locations.savedQueries
        • Overview
        • create
        • delete
        • get
        • list
        • patch
      • folders.logs
        • Overview
        • delete
        • list
      • folders.sinks
        • Overview
        • create
        • delete
        • get
        • list
        • patch
        • update
      • locations.buckets
        • Overview
        • create
        • createAsync
        • delete
        • get
        • list
        • patch
        • undelete
        • updateAsync
      • locations.buckets.links
        • Overview
        • create
        • delete
        • get
        • list
      • locations.buckets.views
        • Overview
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • patch
        • setIamPolicy
        • testIamPermissions
      • locations.operations
        • Overview
        • cancel
        • get
        • list
      • logs
        • Overview
        • delete
        • list
      • monitoredResourceDescriptors
        • Overview
        • list
      • organizations
        • Overview
        • getCmekSettings
        • getSettings
        • updateCmekSettings
        • updateSettings
      • organizations.exclusions
        • Overview
        • create
        • delete
        • get
        • list
        • patch
      • organizations.locations.buckets
        • Overview
        • create
        • createAsync
        • delete
        • get
        • list
        • patch
        • undelete
        • updateAsync
      • organizations.locations.buckets.links
        • Overview
        • create
        • delete
        • get
        • list
      • organizations.locations.buckets.views
        • Overview
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • patch
        • setIamPolicy
        • testIamPermissions
      • organizations.locations.buckets.views.logs
        • Overview
        • list
      • organizations.locations.logScopes
        • Overview
        • create
        • delete
        • get
        • list
        • patch
      • organizations.locations.operations
        • Overview
        • cancel
        • get
        • list
      • organizations.locations.recentQueries
        • Overview
        • list
      • organizations.locations.savedQueries
        • Overview
        • create
        • delete
        • get
        • list
        • patch
      • organizations.logs
        • Overview
        • delete
        • list
      • organizations.sinks
        • Overview
        • create
        • delete
        • get
        • list
        • patch
        • update
      • projects
        • Overview
        • getCmekSettings
        • getSettings
      • projects.exclusions
        • Overview
        • create
        • delete
        • get
        • list
        • patch
      • projects.locations.buckets
        • Overview
        • create
        • createAsync
        • delete
        • get
        • list
        • patch
        • undelete
        • updateAsync
      • projects.locations.buckets.links
        • Overview
        • create
        • delete
        • get
        • list
      • projects.locations.buckets.views
        • Overview
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • patch
        • setIamPolicy
        • testIamPermissions
      • projects.locations.buckets.views.logs
        • Overview
        • list
      • projects.locations.logScopes
        • Overview
        • create
        • delete
        • get
        • list
        • patch
      • projects.locations.operations
        • Overview
        • cancel
        • get
        • list
      • projects.locations.recentQueries
        • Overview
        • list
      • projects.locations.savedQueries
        • Overview
        • create
        • delete
        • get
        • list
        • patch
      • projects.logs
        • Overview
        • delete
        • list
      • projects.metrics
        • Overview
        • create
        • delete
        • get
        • list
        • update
      • projects.sinks
        • Overview
        • create
        • delete
        • get
        • list
        • patch
        • update
      • sinks
        • Overview
        • create
        • delete
        • get
        • list
        • update
      • Types
      • GetPolicyOptions
      • LifecycleState
      • ListBucketsResponse
      • ListExclusionsResponse
      • ListLinksResponse
      • ListLogScopesResponse
      • ListLogsResponse
      • ListOperationsResponse
      • ListRecentQueriesResponse
      • ListSavedQueriesResponse
      • ListSinksResponse
      • ListViewsResponse
      • LogEntry
      • LoggingQuery
      • MonitoredResource
      • OpsAnalyticsQuery
      • Policy
      • Settings
      • TestIamPermissionsResponse
    • gRPC reference
      • Overview
      • google.api
      • google.appengine.logging.v1
      • google.iam.v1
      • google.logging.type
      • google.logging.v2
      • google.longrunning
      • google.rpc
      • google.type
    • MCP reference
      • Overview
      • Tools
        • list_log_entries
        • list_log_names
        • get_bucket
        • list_buckets
        • get_view
        • list_views
  • Monitored resource list
  • Platform logs
  • Command-line interface
  • Get Started
  • Get Started with Google Cloud
  • Product List
  • Cloud Customer Care
  • Featured Products
  • Agent Platform
  • Apigee API Management
  • BigQuery
  • Compute Engine
  • Cloud CDN
  • Cloud Run
  • Cloud Storage
  • Cloud SQL
  • Gemini Enterprise
  • Google Kubernetes Engine
  • Looker
  • Cross-product Tools
  • Access and resources management
  • Costs and usage management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
  • Technology Areas
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Industry solutions
  • Migration
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Home
  • Documentation
  • Observability
  • Cloud Logging
  • Reference

APIs & Reference Stay organized with collections Save and categorize content based on your preferences.

  • REST API reference

    The Logging API REST reference.

  • gRPC API reference

    The Logging API gRPC reference.

  • Monitored resource list

    Lists of monitored resource types defined by the Logging API and the corresponding logging services.

  • Command Line Interface

    A command-line interface to the Logging API using the Google Cloud CLI.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

  • Support

    • Release Notes
  • Resources

    • GitHub
    • Getting Started with Google Cloud
    • Code samples
    • Cloud Architecture Center
  • Terms
  • Privacy
  • Manage cookies
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Português
  • Português – Brasil
  • עברית
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어