CINXE.COM

Routing and storage overview  |  Cloud Logging  |  Google Cloud

<!doctype html> <html lang="en" dir="ltr"> <head> <meta name="google-signin-client-id" content="721724668570-nbkv1cfusk7kk4eni4pjvepaus73b13t.apps.googleusercontent.com"> <meta name="google-signin-scope" content="profile email https://www.googleapis.com/auth/developerprofiles https://www.googleapis.com/auth/developerprofiles.award https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/webhistory"> <meta property="og:site_name" content="Google Cloud"> <meta property="og:type" content="website"><meta name="theme-color" content="#039be5"><meta charset="utf-8"> <meta content="IE=Edge" http-equiv="X-UA-Compatible"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="manifest" href="/_pwa/cloud/manifest.json" crossorigin="use-credentials"> <link rel="preconnect" href="//www.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.googleapis.com" crossorigin> <link rel="preconnect" href="//apis.google.com" crossorigin> <link rel="preconnect" href="//www.google-analytics.com" crossorigin><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Google+Sans:400,500,700|Google+Sans+Text:400,400italic,500,500italic,700,700italic|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"> <link rel="stylesheet" href="//fonts.googleapis.com/css2?family=Material+Icons&family=Material+Symbols+Outlined&display=block"><link rel="stylesheet" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/css/app.css"> <link rel="shortcut icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/favicon.ico"> <link rel="apple-touch-icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png"><link rel="canonical" href="https://cloud.google.com/logging/docs/routing/overview"><link rel="search" type="application/opensearchdescription+xml" title="Google Cloud" href="https://cloud.google.com/s/opensearch.xml"> <link rel="alternate" hreflang="en" href="https://cloud.google.com/logging/docs/routing/overview" /><link rel="alternate" hreflang="x-default" href="https://cloud.google.com/logging/docs/routing/overview" /><link rel="alternate" hreflang="zh-Hans" href="https://cloud.google.com/logging/docs/routing/overview?hl=zh-cn" /><link rel="alternate" hreflang="fr" href="https://cloud.google.com/logging/docs/routing/overview?hl=fr" /><link rel="alternate" hreflang="de" href="https://cloud.google.com/logging/docs/routing/overview?hl=de" /><link rel="alternate" hreflang="id" href="https://cloud.google.com/logging/docs/routing/overview?hl=id" /><link rel="alternate" hreflang="it" href="https://cloud.google.com/logging/docs/routing/overview?hl=it" /><link rel="alternate" hreflang="ja" href="https://cloud.google.com/logging/docs/routing/overview?hl=ja" /><link rel="alternate" hreflang="ko" href="https://cloud.google.com/logging/docs/routing/overview?hl=ko" /><link rel="alternate" hreflang="pt-BR" href="https://cloud.google.com/logging/docs/routing/overview?hl=pt-br" /><link rel="alternate" hreflang="es-419" href="https://cloud.google.com/logging/docs/routing/overview?hl=es-419" /><title>Routing and storage overview &nbsp;|&nbsp; Cloud Logging &nbsp;|&nbsp; Google Cloud</title> <meta property="og:title" content="Routing and storage overview &nbsp;|&nbsp; Cloud Logging &nbsp;|&nbsp; Google Cloud"><meta name="description" content="Learn how log data is received by Cloud Logging, how log data is stored, and how you can view that log data."> <meta property="og:description" content="Learn how log data is received by Cloud Logging, how log data is stored, and how you can view that log data."><meta property="og:url" content="https://cloud.google.com/logging/docs/routing/overview"><meta property="og:image" content="https://cloud.google.com/_static/cloud/images/social-icon-google-cloud-1200-630.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="630"><meta property="og:locale" content="en"><meta name="twitter:card" content="summary_large_image"><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Article", "headline": "Routing and storage overview" } </script><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Google Cloud Observability", "item": "https://cloud.google.com/stackdriver/docs" },{ "@type": "ListItem", "position": 2, "name": "Logging", "item": "https://cloud.google.com/logging/docs" },{ "@type": "ListItem", "position": 3, "name": "Documentation", "item": "https://cloud.google.com/logging/docs" },{ "@type": "ListItem", "position": 4, "name": "Routing and storage overview", "item": "https://cloud.google.com/logging/docs/routing/overview" }] } </script> <link rel="stylesheet" href="/extras.css"></head> <body class="" template="page" theme="cloud-theme" type="article" layout="docs" free-trial display-toc pending> <devsite-progress type="indeterminate" id="app-progress"></devsite-progress> <section class="devsite-wrapper"> <devsite-cookie-notification-bar></devsite-cookie-notification-bar><cloudx-track userCountry="SG"></cloudx-track> <cloudx-utils-init></cloudx-utils-init> <devsite-header keep-tabs-visible> <div class="devsite-header--inner nocontent"> <div class="devsite-top-logo-row-wrapper-wrapper"> <div class="devsite-top-logo-row-wrapper"> <div class="devsite-top-logo-row"> <button type="button" id="devsite-hamburger-menu" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Navigation menu button" visually-hidden aria-label="Open menu"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="googleCloud" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/cloud-logo.svg" class="devsite-site-logo" alt="Google Cloud"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item devsite-has-google-wordmark"> </li> </ul> </span> </div> <div class="devsite-top-logo-row-middle"> <div class="devsite-header-upper-tabs"> <cloudx-tabs-nav class="upper-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Upper tabs"> <tab class="devsite-active"> <a href="https://cloud.google.com/docs" track-metadata-eventdetail="https://cloud.google.com/docs" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - docs-home" track-metadata-module="primary nav" aria-label="Documentation, selected" data-category="Site-Wide Custom Events" data-label="Tab: Documentation" track-name="docs-home" track-link-column-type="single-column" > Documentation </a> </tab> <tab class="devsite-dropdown devsite-clickable "> <a href="https://cloud.google.com/docs/tech-area-overviews" track-metadata-eventdetail="https://cloud.google.com/docs/tech-area-overviews" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - technology-areas" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" > Technology areas </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Technology areas" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/tech-area-overviews" track-metadata-position="nav - technology-areas" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <button class="devsite-tabs-close-button material-icons button-flat gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close dropdown menu" aria-label="Close dropdown menu" track-type="nav" track-name="close" track-metadata-eventdetail="#" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav">close</button> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/ai-ml" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/ai-ml" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> AI and ML </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/application-development" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/application-development" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Application development </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/application-hosting" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/application-hosting" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Application hosting </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/compute-area" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/compute-area" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Compute </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/data" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/data" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Data analytics and pipelines </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/databases" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/databases" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Databases </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/dhm-cloud" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/dhm-cloud" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Distributed, hybrid, and multicloud </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/generative-ai" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/generative-ai" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Generative AI </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/industry" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/industry" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Industry solutions </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/networking" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/networking" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Networking </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/observability" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/observability" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Observability and monitoring </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/security" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/security" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Security </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/storage" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/storage" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Storage </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown devsite-clickable "> <a href="https://cloud.google.com/docs/cross-product-overviews" track-metadata-eventdetail="https://cloud.google.com/docs/cross-product-overviews" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - crossproduct" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" > Cross-product tools </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Cross-product tools" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/cross-product-overviews" track-metadata-position="nav - crossproduct" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <button class="devsite-tabs-close-button material-icons button-flat gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close dropdown menu" aria-label="Close dropdown menu" track-type="nav" track-name="close" track-metadata-eventdetail="#" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav">close</button> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/access-resources" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/access-resources" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Access and resources management </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/costs-usage" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/costs-usage" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Costs and usage management </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/devtools" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/devtools" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud SDK, languages, frameworks, and tools </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/iac" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/iac" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Infrastructure as code </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/migration" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/migration" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Migration </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown devsite-clickable "> <a href="https://cloud.google.com/" track-metadata-eventdetail="https://cloud.google.com/" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - related-sites" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" > Related sites </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Related sites" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/" track-metadata-position="nav - related-sites" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <button class="devsite-tabs-close-button material-icons button-flat gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close dropdown menu" aria-label="Close dropdown menu" track-type="nav" track-name="close" track-metadata-eventdetail="#" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav">close</button> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://cloud.google.com/" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Home </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/free" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/free" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Free Trial and Free Tier </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/architecture" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/architecture" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Architecture Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/blog" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/blog" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Blog </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/contact" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/contact" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Contact Sales </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/developers" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/developers" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Developer Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developers.google.com/" track-type="nav" track-metadata-eventdetail="https://developers.google.com/" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Developer Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://console.cloud.google.com/marketplace" track-type="nav" track-metadata-eventdetail="https://console.cloud.google.com/marketplace" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Marketplace </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/marketplace/docs" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/marketplace/docs" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Marketplace Documentation </div> </a> </li> <li class="devsite-nav-item"> <a href="https://www.cloudskillsboost.google/paths" track-type="nav" track-metadata-eventdetail="https://www.cloudskillsboost.google/paths" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Skills Boost </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/solutions" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/solutions" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Solution Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/support-hub" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/support-hub" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Support </div> </a> </li> <li class="devsite-nav-item"> <a href="https://www.youtube.com/@googlecloudtech" track-type="nav" track-metadata-eventdetail="https://www.youtube.com/@googlecloudtech" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Tech Youtube Channel </div> </a> </li> </ul> </div> </div> </div> </tab> </nav> </cloudx-tabs-nav> </div> <devsite-search enable-signin enable-search enable-suggestions project-name="Cloud Logging" tenant-name="Google Cloud" project-scope="/logging/docs" url-scoped="https://cloud.google.com/s/results/logging/docs" > <form class="devsite-search-form" action="https://cloud.google.com/s/results" method="GET"> <div class="devsite-search-container"> <button type="button" search-open class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Open search"></button> <div class="devsite-searchbox"> <input aria-activedescendant="" aria-autocomplete="list" aria-label="Search" aria-expanded="false" aria-haspopup="listbox" autocomplete="off" class="devsite-search-field devsite-search-query" name="q" placeholder="Search" role="combobox" type="text" value="" > <div class="devsite-search-image material-icons" aria-hidden="true"> </div> <div class="devsite-search-shortcut-icon-container" aria-hidden="true"> <kbd class="devsite-search-shortcut-icon">/</kbd> </div> </div> </div> </form> <button type="button" search-close class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Close search"></button> </devsite-search> </div> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> <devsite-user enable-profiles fp-auth id="devsite-user"> <span class="button devsite-top-button" aria-hidden="true" visually-hidden>Sign in</span> </devsite-user> </div> </div> </div> <div class="devsite-collapsible-section "> <div class="devsite-header-background"> <div class="devsite-product-id-row" hidden> <div class="devsite-product-description-row"> </div> </div> <div class="devsite-doc-set-nav-row"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item "> <a href="https://cloud.google.com/stackdriver/docs" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Lower Header" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Google Cloud Observability" > Google Cloud Observability </a> </li> </ul> <cloudx-tabs-nav class="lower-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Lower tabs"> <tab class="devsite-active"> <a href="https://cloud.google.com/logging/docs/overview" track-metadata-eventdetail="https://cloud.google.com/logging/docs/overview" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - guides" track-metadata-module="primary nav" aria-label="Guides, selected" data-category="Site-Wide Custom Events" data-label="Tab: Guides" track-name="guides" > Guides </a> </tab> <tab > <a href="https://cloud.google.com/logging/docs/apis" track-metadata-eventdetail="https://cloud.google.com/logging/docs/apis" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - reference" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Reference" track-name="reference" > Reference </a> </tab> <tab > <a href="https://cloud.google.com/logging/docs/samples" track-metadata-eventdetail="https://cloud.google.com/logging/docs/samples" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - samples" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Samples" track-name="samples" > Samples </a> </tab> <tab > <a href="https://cloud.google.com/logging/quotas" track-metadata-eventdetail="https://cloud.google.com/logging/quotas" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - resources" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Resources" track-name="resources" > Resources </a> </tab> </nav> </cloudx-tabs-nav> <div class="devsite-product-button-row"> <a href="https://cloud.google.com/contact" class="cta-button-secondary button " data-overflow="devsite-tabs-wrapper" track-name="sales" track-type="contact" data-overflow-wrapper="tab" track-metadata-position="nav" track-metadata-eventDetail="nav" data-overflow-container="left" >Contact Us</a> <a href="//console.cloud.google.com/freetrial" class="cloud-free-trial-button cta-button-primary button-primary button cloud-button cloud-button--primary " data-overflow="devsite-top-logo-row" data-overflow-container="right" track-metadata-eventDetail="nav" referrerpolicy="no-referrer-when-downgrade" data-overflow-class="devsite-header-link devsite-top-button button cloud-free-trial-button cloud-free-trial-enabled cloud-button cloud-button--primary" track-name="gcpCta" track-metadata-position="nav" track-type="freeTrial" >Start free</a> </div> </div> </div> </div> </div> </devsite-header> <devsite-book-nav scrollbars > <div class="devsite-book-nav-filter" > <span class="filter-list-icon material-icons" aria-hidden="true"></span> <input type="text" placeholder="Filter" aria-label="Type to filter" role="searchbox"> <span class="filter-clear-button hidden" data-title="Clear filter" aria-label="Clear filter" role="button" tabindex="0"></span> </div> <nav class="devsite-book-nav devsite-nav nocontent" aria-label="Side menu"> <div class="devsite-mobile-header"> <button type="button" id="devsite-close-nav" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close navigation" aria-label="Close navigation"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="googleCloud" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/cloud-logo.svg" class="devsite-site-logo" alt="Google Cloud"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item devsite-has-google-wordmark"> </li> </ul> </span> </div> </div> <div class="devsite-book-nav-wrapper"> <div class="devsite-mobile-nav-top"> <ul class="devsite-nav-list"> <li class="devsite-nav-item"> <a href="/docs" class="devsite-nav-title gc-analytics-event devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: Documentation" track-name="docs-home" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Documentation" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Documentation </span> </a> <ul class="devsite-nav-responsive-tabs"> <li class="devsite-nav-item"> <a href="/logging/docs/overview" class="devsite-nav-title gc-analytics-event devsite-nav-has-children devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: Guides" track-name="guides" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Guides" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip menu="_book"> Guides </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="_book"> </span> </a> </li> <li class="devsite-nav-item"> <a href="/logging/docs/apis" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Reference" track-name="reference" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Reference" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Reference </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="/logging/docs/samples" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Samples" track-name="samples" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Samples" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Samples </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="/logging/quotas" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Resources" track-name="resources" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Resources" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Resources </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/docs/tech-area-overviews" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Technology areas" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Technology areas </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" > <span class="devsite-nav-text" tooltip menu="Technology areas"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Technology areas"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/docs/cross-product-overviews" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Cross-product tools" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Cross-product tools </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" > <span class="devsite-nav-text" tooltip menu="Cross-product tools"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Cross-product tools"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Related sites" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Related sites </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" > <span class="devsite-nav-text" tooltip menu="Related sites"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Related sites"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="//console.cloud.google.com/" class="devsite-nav-title gc-analytics-event " track-name="console" track-type="globalNav" track-metadata-position="nav" referrerpolicy="no-referrer-when-downgrade" track-metadata-eventDetail="nav" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Console" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Console </span> </a> </li> <li class="devsite-nav-item"> <a href="/contact" class="cta-button-secondary button" data-overflow="devsite-tabs-wrapper" track-name="sales" track-type="contact" data-overflow-wrapper="tab" track-metadata-position="nav" track-metadata-eventDetail="nav" data-overflow-container="left" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Contact Us" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Contact Us </span> </a> </li> <li class="devsite-nav-item"> <a href="//console.cloud.google.com/freetrial" class="cloud-free-trial-button cta-button-primary button-primary button cloud-button cloud-button--primary" data-overflow="devsite-top-logo-row" data-overflow-container="right" track-metadata-eventDetail="nav" referrerpolicy="no-referrer-when-downgrade" data-overflow-class="devsite-header-link devsite-top-button button cloud-free-trial-button cloud-free-trial-enabled cloud-button cloud-button--primary" track-name="gcpCta" track-metadata-position="nav" track-type="freeTrial" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Start free" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Start free </span> </a> </li> </ul> </div> <div class="devsite-mobile-nav-bottom"> <ul class="devsite-nav-list" menu="_book"> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Discover</span> </div></li> <li class="devsite-nav-item"><a href="/logging/docs/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/overview" ><span class="devsite-nav-text" tooltip>Cloud Logging overview</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Get started</span> </div></li> <li class="devsite-nav-item"><a href="/logging/docs/logging-gce-quickstart" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/logging-gce-quickstart" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/logging-gce-quickstart" ><span class="devsite-nav-text" tooltip>Quickstart: Logging for Compute Engine VMs</span></a></li> <li class="devsite-nav-item"><a href="/logging/docs/write-query-log-entries-gcloud" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/write-query-log-entries-gcloud" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/write-query-log-entries-gcloud" ><span class="devsite-nav-text" tooltip>Quickstart: Write and query logs with the gcloud CLI</span></a></li> <li class="devsite-nav-item"><a href="/logging/docs/write-query-log-entries-python" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/write-query-log-entries-python" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/write-query-log-entries-python" ><span class="devsite-nav-text" tooltip>Quickstart: Write and query logs using a Python script</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Collect and write logs</span> </div></li> <li class="devsite-nav-item"><a href="/logging/docs/agent-or-library" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent-or-library" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent-or-library" ><span class="devsite-nav-text" tooltip>Which should you use: agent or client library?</span></a></li> <li class="devsite-nav-item"><a href="/logging/docs/structured-logging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/structured-logging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/structured-logging" ><span class="devsite-nav-text" tooltip>Structured logging</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Collect logs from VMs and third-party applications</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/agent" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent" ><span class="devsite-nav-text" tooltip>Manage logging agents on VMs</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Ops Agent</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent" ><span class="devsite-nav-text" tooltip>Ops Agent overview</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Install the Ops Agent</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/install-index" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/install-index" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/install-index" ><span class="devsite-nav-text" tooltip>All installation methods</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/install-agent-vm-creation" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/install-agent-vm-creation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/install-agent-vm-creation" ><span class="devsite-nav-text" tooltip>Install the Ops Agent during VM creation</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Install the Ops Agent on a fleet of VMs using agent policies</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/agent-policies-overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/agent-policies-overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/agent-policies-overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/agent-policies" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/agent-policies" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/agent-policies" ><span class="devsite-nav-text" tooltip>Use agent policies (GA)</span></a></li><li class="devsite-nav-item devsite-nav-beta"><a href="/logging/docs/agent/ops-agent/managing-agent-policies" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/managing-agent-policies" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/managing-agent-policies" ><span class="devsite-nav-text" tooltip>Use agent policies (beta)</span><span class="devsite-nav-icon material-icons" data-icon="beta" data-title="Beta" aria-hidden="true"></span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/fleet-installation" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/fleet-installation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/fleet-installation" ><span class="devsite-nav-text" tooltip>Install the Ops Agent on a fleet of VMs using automation tools</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/installation" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/installation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/installation" ><span class="devsite-nav-text" tooltip>Install the Ops Agent on individual VMs</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Manage the Ops Agent</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/authorization" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/authorization" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/authorization" ><span class="devsite-nav-text" tooltip>Authorize the Ops Agent</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/configuration" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/configuration" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/configuration" ><span class="devsite-nav-text" tooltip>Configure the Ops Agent</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/rotate-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/rotate-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/rotate-logs" ><span class="devsite-nav-text" tooltip>Use log rotation for Ops Agent self logs</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/manage-policies-auto-install" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/manage-policies-auto-install" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/manage-policies-auto-install" ><span class="devsite-nav-text" tooltip>Manage VMs covered the Ops Agent OS policy</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Collect logs from third-party applications</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/active_directory_ds" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/active_directory_ds" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/active_directory_ds" ><span class="devsite-nav-text" tooltip>Active Directory Domain Services (AD DS)</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/aerospike" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/aerospike" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/aerospike" ><span class="devsite-nav-text" tooltip>Aerospike</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/activemq" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/activemq" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/activemq" ><span class="devsite-nav-text" tooltip>Apache ActiveMQ</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/cassandra" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/cassandra" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/cassandra" ><span class="devsite-nav-text" tooltip>Apache Cassandra</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/couchdb" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/couchdb" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/couchdb" ><span class="devsite-nav-text" tooltip>Apache CouchDB</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/flink" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/flink" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/flink" ><span class="devsite-nav-text" tooltip>Apache Flink</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/hadoop" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/hadoop" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/hadoop" ><span class="devsite-nav-text" tooltip>Apache Hadoop</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/hbase" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/hbase" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/hbase" ><span class="devsite-nav-text" tooltip>Apache HBase</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/kafka" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/kafka" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/kafka" ><span class="devsite-nav-text" tooltip>Apache Kafka</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/solr" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/solr" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/solr" ><span class="devsite-nav-text" tooltip>Apache Solr</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/tomcat" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/tomcat" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/tomcat" ><span class="devsite-nav-text" tooltip>Apache Tomcat</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/apache" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/apache" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/apache" ><span class="devsite-nav-text" tooltip>Apache Web Server (httpd)</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/zookeeper" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/zookeeper" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/zookeeper" ><span class="devsite-nav-text" tooltip>Apache ZooKeeper</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/couchbase" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/couchbase" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/couchbase" ><span class="devsite-nav-text" tooltip>Couchbase</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/elasticsearch" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/elasticsearch" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/elasticsearch" ><span class="devsite-nav-text" tooltip>Elasticsearch</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/vault" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/vault" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/vault" ><span class="devsite-nav-text" tooltip>Hashicorp Vault</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/iis" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/iis" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/iis" ><span class="devsite-nav-text" tooltip>Internet Information Services</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/jetty" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/jetty" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/jetty" ><span class="devsite-nav-text" tooltip>Jetty</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/mariadb" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/mariadb" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/mariadb" ><span class="devsite-nav-text" tooltip>MariaDB</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/memcached" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/memcached" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/memcached" ><span class="devsite-nav-text" tooltip>Memcached</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/mongodb" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/mongodb" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/mongodb" ><span class="devsite-nav-text" tooltip>MongoDB</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/mysql" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/mysql" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/mysql" ><span class="devsite-nav-text" tooltip>MySQL</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/nginx" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/nginx" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/nginx" ><span class="devsite-nav-text" tooltip>nginx</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/oracledb" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/oracledb" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/oracledb" ><span class="devsite-nav-text" tooltip>Oracle Database</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/postgresql" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/postgresql" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/postgresql" ><span class="devsite-nav-text" tooltip>PostgreSQL</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/rabbitmq" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/rabbitmq" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/rabbitmq" ><span class="devsite-nav-text" tooltip>RabbitMQ</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/redis" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/redis" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/redis" ><span class="devsite-nav-text" tooltip>Redis</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/saphana" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/saphana" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/saphana" ><span class="devsite-nav-text" tooltip>SAP HANA</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/varnish" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/varnish" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/varnish" ><span class="devsite-nav-text" tooltip>Varnish HTTP Cache</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/third-party/wildfly" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/third-party/wildfly" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/third-party/wildfly" ><span class="devsite-nav-text" tooltip>WildFly</span></a></li></ul></div></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Legacy Logging agent</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/agent/logging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/logging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/logging" ><span class="devsite-nav-text" tooltip>Logging agent overview</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Install the Logging agent</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/agent/logging/install-index" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/logging/install-index" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/logging/install-index" ><span class="devsite-nav-text" tooltip>All installation methods</span></a></li><li class="devsite-nav-item devsite-nav-beta"><a href="/logging/docs/agent/logging/managing-agent-policies" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/logging/managing-agent-policies" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/logging/managing-agent-policies" ><span class="devsite-nav-text" tooltip>Install the Logging agent on a fleet of VMs using agent policies</span><span class="devsite-nav-icon material-icons" data-icon="beta" data-title="Beta" aria-hidden="true"></span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/logging/fleet-installation" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/logging/fleet-installation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/logging/fleet-installation" ><span class="devsite-nav-text" tooltip>Install the Logging agent on a fleet of VMs using automation tools</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/logging/installation" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/logging/installation" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/logging/installation" ><span class="devsite-nav-text" tooltip>Install the Logging agent on individual VMs</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Manage the Logging agent</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/agent/logging/authorization" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/logging/authorization" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/logging/authorization" ><span class="devsite-nav-text" tooltip>Authorize the Logging agent</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/logging/configuration" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/logging/configuration" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/logging/configuration" ><span class="devsite-nav-text" tooltip>Configure the Logging agent</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/default-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/default-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/default-logs" ><span class="devsite-nav-text" tooltip>Default agent logs</span></a></li></ul></div></li></ul></div></li></ul></div></li> <li class="devsite-nav-item"><a href="/logging/docs/bindplane/on-premise-hybrid-logging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/bindplane/on-premise-hybrid-logging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/bindplane/on-premise-hybrid-logging" ><span class="devsite-nav-text" tooltip>Collect on-premises and multi-cloud logs</span></a></li> <li class="devsite-nav-item"><a href="/logging/docs/integrate/gke" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/integrate/gke" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/integrate/gke" ><span class="devsite-nav-text" tooltip>Collect Kubernetes Engine logs</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Write application logs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/setup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/setup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/setup" ><span class="devsite-nav-text" tooltip>Logging libraries overview</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/integrate/dotnet" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/integrate/dotnet" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/integrate/dotnet" ><span class="devsite-nav-text" tooltip>C#: Use .NET logging frameworks or the API</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/setup/java" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/setup/java" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/setup/java" ><span class="devsite-nav-text" tooltip>Java: Use Logback or java.util.logging</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/setup/go" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/setup/go" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/setup/go" ><span class="devsite-nav-text" tooltip>Go: Use standard logging</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/setup/nodejs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/setup/nodejs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/setup/nodejs" ><span class="devsite-nav-text" tooltip>Node.js: Use Winston and Bunyan</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/setup/php" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/setup/php" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/setup/php" ><span class="devsite-nav-text" tooltip>PHP: Use PSR-3 logger</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/setup/python" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/setup/python" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/setup/python" ><span class="devsite-nav-text" tooltip>Python: Use standard logging</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/setup/ruby" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/setup/ruby" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/setup/ruby" ><span class="devsite-nav-text" tooltip>Ruby: Use the Stackdriver gem</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Control access</span> </div></li> <li class="devsite-nav-item"><a href="/logging/docs/access-control" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/access-control" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/access-control" ><span class="devsite-nav-text" tooltip>Access control with IAM</span></a></li> <li class="devsite-nav-item"><a href="/logging/docs/logs-views" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/logs-views" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/logs-views" ><span class="devsite-nav-text" tooltip>Configure log views on a log bucket</span></a></li> <li class="devsite-nav-item"><a href="/logging/docs/field-level-acl" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/field-level-acl" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/field-level-acl" ><span class="devsite-nav-text" tooltip>Configure field-level access</span></a></li> <li class="devsite-nav-item"><a href="/logging/docs/routing/managed-encryption-storage" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/routing/managed-encryption-storage" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/routing/managed-encryption-storage" ><span class="devsite-nav-text" tooltip>Configure CMEK for log buckets</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Configure default resource settings for Logging</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/default-settings" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/default-settings" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/default-settings" ><span class="devsite-nav-text" tooltip>Configure default resource settings</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/routing/managed-encryption" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/routing/managed-encryption" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/routing/managed-encryption" ><span class="devsite-nav-text" tooltip>Configure CMEK for Logging</span></a></li></ul></div></li> <li class="devsite-nav-item"><a href="/logging/docs/regionalized-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/regionalized-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/regionalized-logs" ><span class="devsite-nav-text" tooltip>Regionalize your logs</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Query, analyze, and view logs</span> </div></li> <li class="devsite-nav-item"><a href="/logging/docs/log-analytics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/log-analytics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/log-analytics" ><span class="devsite-nav-text" tooltip>Query and view logs overview</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Logs Explorer: Query and view logs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/log-scope/create-and-manage" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/log-scope/create-and-manage" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/log-scope/create-and-manage" ><span class="devsite-nav-text" tooltip>Configure a log scope</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/view/logs-explorer-interface" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/view/logs-explorer-interface" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/view/logs-explorer-interface" ><span class="devsite-nav-text" tooltip>Logs Explorer overview</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/view/building-queries" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/view/building-queries" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/view/building-queries" ><span class="devsite-nav-text" tooltip>Build queries using the Logging query language</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/view/correlate-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/view/correlate-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/view/correlate-logs" ><span class="devsite-nav-text" tooltip>Correlate log entries</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/analyze/find-logs-error-groups" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/analyze/find-logs-error-groups" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/analyze/find-logs-error-groups" ><span class="devsite-nav-text" tooltip>Find log entries with error groups</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/view/logging-query-language" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/view/logging-query-language" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/view/logging-query-language" ><span class="devsite-nav-text" tooltip>Logging query language</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/view/query-library" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/view/query-library" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/view/query-library" ><span class="devsite-nav-text" tooltip>Sample queries</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/log4j2-vulnerability" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/log4j2-vulnerability" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/log4j2-vulnerability" ><span class="devsite-nav-text" tooltip>Example: Detect Log4Shell security exploits</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Log Analytics: Query and analyze logs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/analyze/query-and-view" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/analyze/query-and-view" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/analyze/query-and-view" ><span class="devsite-nav-text" tooltip>Query and analyze logs in Log Analytics</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/analyze/charts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/analyze/charts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/analyze/charts" ><span class="devsite-nav-text" tooltip>Chart SQL query results</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/analyze/save-share-query" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/analyze/save-share-query" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/analyze/save-share-query" ><span class="devsite-nav-text" tooltip>Save and share SQL queries</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/analyze/examples" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/analyze/examples" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/analyze/examples" ><span class="devsite-nav-text" tooltip>Sample SQL queries</span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/logging/docs/analyze/log-volume" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/analyze/log-volume" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/analyze/log-volume" ><span class="devsite-nav-text" tooltip>Analyze log volume</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li><li class="devsite-nav-item"><a href="/logging/docs/analyze/analyze-audit-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/analyze/analyze-audit-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/analyze/analyze-audit-logs" ><span class="devsite-nav-text" tooltip>SQL queries for security insights</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Create alerts or use BigQuery</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/analyze/query-linked-dataset" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/analyze/query-linked-dataset" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/analyze/query-linked-dataset" ><span class="devsite-nav-text" tooltip>Query a linked BigQuery dataset</span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/logging/docs/analyze/sql-in-alerting" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/analyze/sql-in-alerting" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/analyze/sql-in-alerting" ><span class="devsite-nav-text" tooltip>Monitor your SQL query results with an alerting policy</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/logging/docs/analyze/troubleshoot" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/analyze/troubleshoot" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/analyze/troubleshoot" ><span class="devsite-nav-text" tooltip>Troubleshoot Log Analytics configuration</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>View logs in supported destinations</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/export/using_exported_logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/export/using_exported_logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/export/using_exported_logs" ><span class="devsite-nav-text" tooltip>View logs routed to Logging buckets</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/export/bigquery" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/export/bigquery" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/export/bigquery" ><span class="devsite-nav-text" tooltip>View logs routed to BigQuery</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/export/storage" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/export/storage" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/export/storage" ><span class="devsite-nav-text" tooltip>View logs routed to Cloud Storage</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/export/pubsub" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/export/pubsub" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/export/pubsub" ><span class="devsite-nav-text" tooltip>View logs routed to Pub/Sub</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Visualize, stream, and monitor logs</span> </div></li> <li class="devsite-nav-item"><a href="/logging/docs/view/dashboard" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/view/dashboard" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/view/dashboard" ><span class="devsite-nav-text" tooltip>Visualize log severity and error metrics</span></a></li> <li class="devsite-nav-item"><a href="/logging/docs/view/streaming-live-tailing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/view/streaming-live-tailing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/view/streaming-live-tailing" ><span class="devsite-nav-text" tooltip>Stream and tail log entries</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Monitor your logs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/alerting/monitoring-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/alerting/monitoring-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/alerting/monitoring-logs" ><span class="devsite-nav-text" tooltip>Monitor your logs overview</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Create metrics from logs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/logs-based-metrics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/logs-based-metrics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/logs-based-metrics" ><span class="devsite-nav-text" tooltip>Log-based metrics overview</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/logs-based-metrics/view_your_log_based_metrics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/logs-based-metrics/view_your_log_based_metrics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/logs-based-metrics/view_your_log_based_metrics" ><span class="devsite-nav-text" tooltip>List and chart log-based metrics</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/logs-based-metrics/bucket-lbm" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/logs-based-metrics/bucket-lbm" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/logs-based-metrics/bucket-lbm" ><span class="devsite-nav-text" tooltip>Bucket-scoped log-based metrics</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/logs-based-metrics/counter-metrics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/logs-based-metrics/counter-metrics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/logs-based-metrics/counter-metrics" ><span class="devsite-nav-text" tooltip>Configure counter metrics</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/logs-based-metrics/distribution-metrics" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/logs-based-metrics/distribution-metrics" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/logs-based-metrics/distribution-metrics" ><span class="devsite-nav-text" tooltip>Configure distribution metrics</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/logs-based-metrics/labels" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/logs-based-metrics/labels" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/logs-based-metrics/labels" ><span class="devsite-nav-text" tooltip>Configure labels on log-based metrics</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/logs-based-metrics/charts-and-alerts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/logs-based-metrics/charts-and-alerts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/logs-based-metrics/charts-and-alerts" ><span class="devsite-nav-text" tooltip>Configure notifications for log-based metrics</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Create alerting policies that monitor logs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/alerting/log-based-alerts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/alerting/log-based-alerts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/alerting/log-based-alerts" ><span class="devsite-nav-text" tooltip>Configure log-based alerting policies</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/alerting/log-based-incidents" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/alerting/log-based-incidents" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/alerting/log-based-incidents" ><span class="devsite-nav-text" tooltip>Manage incidents for log-based alerting policies</span></a></li><li class="devsite-nav-item devsite-nav-preview"><a href="/logging/docs/alerting/sql-based-incidents" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/alerting/sql-based-incidents" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/alerting/sql-based-incidents" ><span class="devsite-nav-text" tooltip>Manage incidents for SQL-based alerting policies</span><span class="devsite-nav-icon material-icons" data-icon="preview" data-title="Preview" aria-hidden="true"></span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Route and store logs</span> </div></li> <li class="devsite-nav-item"><a href="/logging/docs/routing/overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/routing/overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/routing/overview" ><span class="devsite-nav-text" tooltip>Routing and storage overview</span></a></li> <li class="devsite-nav-item"><a href="/logging/docs/buckets" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/buckets" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/buckets" ><span class="devsite-nav-text" tooltip>Configure log buckets</span></a></li> <li class="devsite-nav-item"><a href="/logging/docs/manage-log-buckets-with-tags" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/manage-log-buckets-with-tags" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/manage-log-buckets-with-tags" ><span class="devsite-nav-text" tooltip>Manage log buckets by using Tags</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Configure log sinks</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/export/configure_export_v2" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/export/configure_export_v2" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/export/configure_export_v2" ><span class="devsite-nav-text" tooltip>Route logs to supported destinations</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/routing/user-managed-service-accounts" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/routing/user-managed-service-accounts" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/routing/user-managed-service-accounts" ><span class="devsite-nav-text" tooltip>Configure log sinks with user-managed service accounts</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/export/third_party" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/export/third_party" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/export/third_party" ><span class="devsite-nav-text" tooltip>Route logs to third-party destinations</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Configure sinks for folders and organizations</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/export/aggregated_sinks" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/export/aggregated_sinks" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/export/aggregated_sinks" ><span class="devsite-nav-text" tooltip>Collate and route organization-level logs to supported destinations</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/central-log-storage" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/central-log-storage" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/central-log-storage" ><span class="devsite-nav-text" tooltip>Aggregate and store your organization&#39;s logs</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Set up advanced log storage</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/analyze/custom-index" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/analyze/custom-index" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/analyze/custom-index" ><span class="devsite-nav-text" tooltip>Configure custom indexing</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/routing/copy-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/routing/copy-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/routing/copy-logs" ><span class="devsite-nav-text" tooltip>Batch and route logs retroactively</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Cloud Audit Logs</span> </div></li> <li class="devsite-nav-item"><a href="/logging/docs/audit" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/audit" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/audit" ><span class="devsite-nav-text" tooltip>Cloud Audit Logs overview</span></a></li> <li class="devsite-nav-item"><a href="/logging/docs/audit/services" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/audit/services" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/audit/services" ><span class="devsite-nav-text" tooltip>Services with audit logs</span></a></li> <li class="devsite-nav-item"><a href="/logging/docs/audit/configure-data-access" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/audit/configure-data-access" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/audit/configure-data-access" ><span class="devsite-nav-text" tooltip>Enable Data Access audit logs</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Audit logs in depth</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/audit/understanding-audit-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/audit/understanding-audit-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/audit/understanding-audit-logs" ><span class="devsite-nav-text" tooltip>Understand audit logs</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/audit/split-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/audit/split-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/audit/split-logs" ><span class="devsite-nav-text" tooltip>Split log entries</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/audit/best-practices" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/audit/best-practices" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/audit/best-practices" ><span class="devsite-nav-text" tooltip>Best practices</span></a></li></ul></div></li> <li class="devsite-nav-item"><a href="/logging/docs/audit-logging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/audit-logging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/audit-logging" ><span class="devsite-nav-text" tooltip>Cloud Logging audit logs</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Google Workspace audit logs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/audit/gsuite-audit-logging" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/audit/gsuite-audit-logging" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/audit/gsuite-audit-logging" ><span class="devsite-nav-text" tooltip>Workspace audit logs overview</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/audit/configure-gsuite-audit-logs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/audit/configure-gsuite-audit-logs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/audit/configure-gsuite-audit-logs" ><span class="devsite-nav-text" tooltip>View and manage Workspace audit logs</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/audit/gsuite-login-samples" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/audit/gsuite-login-samples" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/audit/gsuite-login-samples" ><span class="devsite-nav-text" tooltip>Login Audit samples</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Audit logs datatypes</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>AuditLog</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Types</span> </div></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/auditlog/rest/Shared.Types/AuditLog" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/auditlog/rest/Shared.Types/AuditLog" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/auditlog/rest/Shared.Types/AuditLog" ><span class="devsite-nav-text" tooltip>AuditLog</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/auditlog/rest/Shared.Types/PolicyType" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/auditlog/rest/Shared.Types/PolicyType" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/auditlog/rest/Shared.Types/PolicyType" ><span class="devsite-nav-text" tooltip>PolicyType</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>App Engine AuditData</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Types</span> </div></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/appengine/rest/Shared.Types/ApiConfigHandler" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/appengine/rest/Shared.Types/ApiConfigHandler" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/appengine/rest/Shared.Types/ApiConfigHandler" ><span class="devsite-nav-text" tooltip>ApiConfigHandler</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/appengine/rest/Shared.Types/ApiEndpointHandler" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/appengine/rest/Shared.Types/ApiEndpointHandler" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/appengine/rest/Shared.Types/ApiEndpointHandler" ><span class="devsite-nav-text" tooltip>ApiEndpointHandler</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/appengine/rest/Shared.Types/AuditData" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/appengine/rest/Shared.Types/AuditData" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/appengine/rest/Shared.Types/AuditData" ><span class="devsite-nav-text" tooltip>AuditData</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/appengine/rest/Shared.Types/AuthFailAction" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/appengine/rest/Shared.Types/AuthFailAction" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/appengine/rest/Shared.Types/AuthFailAction" ><span class="devsite-nav-text" tooltip>AuthFailAction</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/appengine/rest/Shared.Types/ErrorCode" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/appengine/rest/Shared.Types/ErrorCode" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/appengine/rest/Shared.Types/ErrorCode" ><span class="devsite-nav-text" tooltip>ErrorCode</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/appengine/rest/Shared.Types/FileInfo" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/appengine/rest/Shared.Types/FileInfo" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/appengine/rest/Shared.Types/FileInfo" ><span class="devsite-nav-text" tooltip>FileInfo</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/appengine/rest/Shared.Types/InboundServiceType" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/appengine/rest/Shared.Types/InboundServiceType" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/appengine/rest/Shared.Types/InboundServiceType" ><span class="devsite-nav-text" tooltip>InboundServiceType</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/appengine/rest/Shared.Types/LoginRequirement" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/appengine/rest/Shared.Types/LoginRequirement" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/appengine/rest/Shared.Types/LoginRequirement" ><span class="devsite-nav-text" tooltip>LoginRequirement</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/appengine/rest/Shared.Types/RedirectHttpResponseCode" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/appengine/rest/Shared.Types/RedirectHttpResponseCode" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/appengine/rest/Shared.Types/RedirectHttpResponseCode" ><span class="devsite-nav-text" tooltip>RedirectHttpResponseCode</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/appengine/rest/Shared.Types/RolloutStrategy" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/appengine/rest/Shared.Types/RolloutStrategy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/appengine/rest/Shared.Types/RolloutStrategy" ><span class="devsite-nav-text" tooltip>RolloutStrategy</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/appengine/rest/Shared.Types/SecurityLevel" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/appengine/rest/Shared.Types/SecurityLevel" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/appengine/rest/Shared.Types/SecurityLevel" ><span class="devsite-nav-text" tooltip>SecurityLevel</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/appengine/rest/Shared.Types/ServingStatus" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/appengine/rest/Shared.Types/ServingStatus" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/appengine/rest/Shared.Types/ServingStatus" ><span class="devsite-nav-text" tooltip>ServingStatus</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/appengine/rest/Shared.Types/ShardBy" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/appengine/rest/Shared.Types/ShardBy" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/appengine/rest/Shared.Types/ShardBy" ><span class="devsite-nav-text" tooltip>ShardBy</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>App Engine AuditData (legacy)</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Types</span> </div></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/ae_legacy/rest/Shared.Types/AuditData" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/ae_legacy/rest/Shared.Types/AuditData" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/ae_legacy/rest/Shared.Types/AuditData" ><span class="devsite-nav-text" tooltip>AuditData</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>BigQuery AuditData</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Types</span> </div></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/bigquery/rest/Shared.Types/AuditData" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/bigquery/rest/Shared.Types/AuditData" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/bigquery/rest/Shared.Types/AuditData" ><span class="devsite-nav-text" tooltip>AuditData</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/bigquery/rest/Shared.Types/LogType" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/bigquery/rest/Shared.Types/LogType" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/bigquery/rest/Shared.Types/LogType" ><span class="devsite-nav-text" tooltip>LogType</span></a></li></ul></div></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>IAM AuditData</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Types</span> </div></li><li class="devsite-nav-item"><a href="/logging/docs/reference/audit/iam/rest/Shared.Types/AuditData" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/reference/audit/iam/rest/Shared.Types/AuditData" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/reference/audit/iam/rest/Shared.Types/AuditData" ><span class="devsite-nav-text" tooltip>AuditData</span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Troubleshoot</span> </div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Troubleshoot collecting and writing logs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Troubleshoot the Ops Agent</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/troubleshooting" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/troubleshooting" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/troubleshooting" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/troubleshoot-find-info" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/troubleshoot-find-info" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/troubleshoot-find-info" ><span class="devsite-nav-text" tooltip>Find troubleshooting information</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/troubleshoot-credentials" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/troubleshoot-credentials" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/troubleshoot-credentials" ><span class="devsite-nav-text" tooltip>Troubleshoot credentials</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/troubleshoot-install-startup" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/troubleshoot-install-startup" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/troubleshoot-install-startup" ><span class="devsite-nav-text" tooltip>Troubleshoot installation and start-up</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/agent/ops-agent/troubleshoot-run-ingest" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/ops-agent/troubleshoot-run-ingest" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/ops-agent/troubleshoot-run-ingest" ><span class="devsite-nav-text" tooltip>Troubleshoot data ingestion</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/logging/docs/agent/logging/troubleshooting" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/agent/logging/troubleshooting" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/agent/logging/troubleshooting" ><span class="devsite-nav-text" tooltip>Troubleshoot the Logging agent</span></a></li></ul></div></li> <li class="devsite-nav-item"><a href="/logging/docs/export/troubleshoot" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/export/troubleshoot" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/export/troubleshoot" ><span class="devsite-nav-text" tooltip>Troubleshoot routing and storage</span></a></li> <li class="devsite-nav-item"><a href="/logging/docs/routing/troubleshoot-cmek-orgs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/routing/troubleshoot-cmek-orgs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/routing/troubleshoot-cmek-orgs" ><span class="devsite-nav-text" tooltip>Troubleshoot CMEK and default settings</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Troubleshoot monitoring logs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/alerting/troubleshooting" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/alerting/troubleshooting" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/alerting/troubleshooting" ><span class="devsite-nav-text" tooltip>Troubleshoot log-based alerting policies</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/logs-based-metrics/troubleshooting" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/logs-based-metrics/troubleshooting" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/logs-based-metrics/troubleshooting" ><span class="devsite-nav-text" tooltip>Troubleshoot log-based metrics</span></a></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Troubleshoot querying and viewing logs</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/logging/docs/view/troubleshoot" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/view/troubleshoot" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/view/troubleshoot" ><span class="devsite-nav-text" tooltip>Troubleshoot Logs Explorer</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/view/troubleshoot-lql" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/view/troubleshoot-lql" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/view/troubleshoot-lql" ><span class="devsite-nav-text" tooltip>Troubleshoot Logging query language</span></a></li><li class="devsite-nav-item"><a href="/logging/docs/analyze/troubleshoot" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/analyze/troubleshoot" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/analyze/troubleshoot" ><span class="devsite-nav-text" tooltip>Troubleshoot Log Analytics</span></a></li></ul></div></li> <li class="devsite-nav-item"><a href="/logging/docs/audit/troubleshooting-faq-gsuite" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /logging/docs/audit/troubleshooting-faq-gsuite" track-type="bookNav" track-name="click" track-metadata-eventdetail="/logging/docs/audit/troubleshooting-faq-gsuite" ><span class="devsite-nav-text" tooltip>Troubleshoot Workspace audit logs</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Other Google Cloud Observability documentation</span> </div></li> <li class="devsite-nav-item"><a href="/stackdriver/docs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /stackdriver/docs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/stackdriver/docs" ><span class="devsite-nav-text" tooltip>Google Cloud Observability</span></a></li> <li class="devsite-nav-item"><a href="/monitoring/docs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /monitoring/docs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/monitoring/docs" ><span class="devsite-nav-text" tooltip>Cloud Monitoring</span></a></li> <li class="devsite-nav-item"><a href="/error-reporting/docs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /error-reporting/docs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/error-reporting/docs" ><span class="devsite-nav-text" tooltip>Error Reporting</span></a></li> <li class="devsite-nav-item"><a href="/trace/docs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /trace/docs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/trace/docs" ><span class="devsite-nav-text" tooltip>Cloud Trace</span></a></li> <li class="devsite-nav-item"><a href="/profiler/docs" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /profiler/docs" track-type="bookNav" track-name="click" track-metadata-eventdetail="/profiler/docs" ><span class="devsite-nav-text" tooltip>Cloud Profiler</span></a></li> </ul> <ul class="devsite-nav-list" menu="Technology areas" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/docs/ai-ml" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: AI and ML" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > AI and ML </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/application-development" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Application development" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Application development </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/application-hosting" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Application hosting" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Application hosting </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/compute-area" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Compute" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Compute </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/data" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Data analytics and pipelines" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Data analytics and pipelines </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/databases" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Databases" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Databases </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/dhm-cloud" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Distributed, hybrid, and multicloud" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Distributed, hybrid, and multicloud </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/generative-ai" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Generative AI" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Generative AI </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/industry" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Industry solutions" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Industry solutions </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/networking" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Networking" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Networking </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/observability" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Observability and monitoring" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Observability and monitoring </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/security" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Security" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Security </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/storage" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Storage" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Storage </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Cross-product tools" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/docs/access-resources" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Access and resources management" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Access and resources management </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/costs-usage" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Costs and usage management" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Costs and usage management </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/devtools" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud SDK, languages, frameworks, and tools" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud SDK, languages, frameworks, and tools </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/iac" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Infrastructure as code" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Infrastructure as code </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/migration" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Migration" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Migration </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Related sites" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Home" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Home </span> </a> </li> <li class="devsite-nav-item"> <a href="/free" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Free Trial and Free Tier" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Free Trial and Free Tier </span> </a> </li> <li class="devsite-nav-item"> <a href="/architecture" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Architecture Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Architecture Center </span> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/blog" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Blog" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Blog </span> </a> </li> <li class="devsite-nav-item"> <a href="/contact" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Contact Sales" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Contact Sales </span> </a> </li> <li class="devsite-nav-item"> <a href="/developers" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Developer Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Developer Center </span> </a> </li> <li class="devsite-nav-item"> <a href="https://developers.google.com/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Developer Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Developer Center </span> </a> </li> <li class="devsite-nav-item"> <a href="https://console.cloud.google.com/marketplace" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Marketplace" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Marketplace </span> </a> </li> <li class="devsite-nav-item"> <a href="/marketplace/docs" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Marketplace Documentation" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Marketplace Documentation </span> </a> </li> <li class="devsite-nav-item"> <a href="https://www.cloudskillsboost.google/paths" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Skills Boost" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Skills Boost </span> </a> </li> <li class="devsite-nav-item"> <a href="/solutions" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Solution Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Solution Center </span> </a> </li> <li class="devsite-nav-item"> <a href="/support-hub" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Support" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Support </span> </a> </li> <li class="devsite-nav-item"> <a href="https://www.youtube.com/@googlecloudtech" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Tech Youtube Channel" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Tech Youtube Channel </span> </a> </li> </ul> </div> </div> </nav> </devsite-book-nav> <section id="gc-wrapper"> <main role="main" class="devsite-main-content" has-book-nav has-sidebar > <div class="devsite-sidebar"> <div class="devsite-sidebar-content"> <devsite-toc class="devsite-nav" role="navigation" aria-label="On this page" depth="2" scrollbars ></devsite-toc> <devsite-recommendations-sidebar class="nocontent devsite-nav"> </devsite-recommendations-sidebar> </div> </div> <devsite-content> <article class="devsite-article"> <div class="devsite-article-meta nocontent" role="navigation"> <ul class="devsite-breadcrumb-list" aria-label="Breadcrumb"> <li class="devsite-breadcrumb-item "> <a href="https://cloud.google.com/" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Google Cloud" > Home </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://cloud.google.com/stackdriver/docs" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="2" track-type="globalNav" track-name="breadcrumb" track-metadata-position="2" track-metadata-eventdetail="Google Cloud Observability" > Google Cloud Observability </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://cloud.google.com/logging/docs" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="3" track-type="globalNav" track-name="breadcrumb" track-metadata-position="3" track-metadata-eventdetail="Cloud Logging" > Logging </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://cloud.google.com/logging/docs" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="4" track-type="globalNav" track-name="breadcrumb" track-metadata-position="4" track-metadata-eventdetail="Cloud Logging" > Documentation </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://cloud.google.com/logging/docs/overview" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="5" track-type="globalNav" track-name="breadcrumb" track-metadata-position="5" track-metadata-eventdetail="" > Guides </a> </li> </ul> <devsite-thumb-rating position="header"> </devsite-thumb-rating> </div> <devsite-feedback position="header" project-name="Cloud Logging" product-id="714033" bucket="Documentation" context="Logging docs feedback link" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="header" class="nocontent" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png" > <button> Send feedback </button> </devsite-feedback> <h1 class="devsite-page-title" tabindex="-1"> Routing and storage overview </h1> <devsite-feature-tooltip ack-key="AckCollectionsBookmarkTooltipDismiss" analytics-category="Site-Wide Custom Events" analytics-action-show="Callout Profile displayed" analytics-action-close="Callout Profile dismissed" analytics-label="Create Collection Callout" class="devsite-page-bookmark-tooltip nocontent" dismiss-button="true" id="devsite-collections-dropdown" dismiss-button-text="Dismiss" close-button-text="Got it"> <devsite-bookmark></devsite-bookmark> <span slot="popout-heading"> Stay organized with collections </span> <span slot="popout-contents"> Save and categorize content based on your preferences. </span> </devsite-feature-tooltip> <div class="devsite-page-title-meta"><devsite-view-release-notes></devsite-view-release-notes></div> <devsite-toc class="devsite-nav" depth="2" devsite-toc-embedded > </devsite-toc> <div class="devsite-article-body clearfix "> <p>This document explains how Cloud Logging processes log entries, and describes the key components of Logging routing and storage. <em>Routing</em> refers to the process that Cloud Logging uses to determine what to do with a newly-arrived log entry. You can route log entries to destinations like Logging buckets, which store the log entry, or to Pub/Sub. To export your logs into third-party destinations, route your logs to a Pub/Sub topic, and then authorize the third-party destination to subscribe to the Pub/Sub topic.</p> <p>At a high level, this is how Cloud Logging routes and stores log entries:</p> <p><img src="/static/logging/docs/images/routing-overview.png" alt="Figure illustrating how Cloud Logging routes logs entries."></p> <h2 id="ingesting-routing" data-text="Route logs with the Log Router" tabindex="-1">Route logs with the Log Router</h2> <p>The following sections explain how Logging routes logs with the Log Router by using sinks.</p> <h3 id="log-router" data-text="Log Router" tabindex="-1">Log Router</h3> <p>A log entry is sent to the <a href="/resource-manager/docs/cloud-platform-resource-hierarchy#resource-hierarchy-detail">Google Cloud resource</a> specified in its <a href="/logging/docs/reference/v2/rest/v2/LogEntry"><code translate="no" dir="ltr">logName</code></a> field during its <a href="/logging/docs/reference/v2/rest/v2/entries/write"><code translate="no" dir="ltr">entries.write</code></a> call.</p> <p>Cloud Logging receives log entries with the <a href="/logging/docs/reference/api-overview">Cloud Logging API</a> where they pass through the Log Router. The <a href="#sinks">sinks</a> in the Log Router check each log entry against their <a href="#inclusion-filters">inclusion filter</a> and <a href="#exclusions">exclusion filters</a>, and then determine which destinations, including Cloud Logging buckets, that the log entry should be sent to. You can use combinations of sinks to route a log entry to multiple destinations.</p> <p>The Log Router stores the log entry temporarily. This behavior buffers against temporary disruptions and outages that might occur when a sink routes a log entry to a destination. The buffering doesn&#39;t protect against sink configuration errors. If your sink is configured incorrectly, then it doesn&#39;t route log entries, an error log is generated, and an email notifying you of a sink configuration error is sent. When log entries can&#39;t be routed, they are discarded.</p> <p>The Log Router&#39;s temporary storage is distinct from the longer term storage provided by Logging buckets.</p> <p>Incoming log entries with timestamps that are more than the <a href="/logging/quotas#logs_retention_periods">logs retention period</a> in the past or that are more than 24 hours in the future are discarded.</p> <h3 id="sinks" data-text="Sinks" tabindex="-1">Sinks</h3> <p>Sinks control how Cloud Logging routes logs. Using sinks, you can route some or all of your logs to <a href="#destinations">supported destinations</a>. Some of the reasons that you might want to control how your logs are routed include the following:</p> <ul> <li>To store logs that are unlikely to be read but that must be retained for compliance purposes.</li> <li>To organize your logs in buckets in a format that is useful to you.</li> <li>To use big-data analysis tools on your logs.</li> <li>To stream your logs to other applications, other repositories, or third parties. For example, if you want to export your logs from Google Cloud so that you can view them on a third-party platform, then configure a sink to route your log entries to Pub/Sub.</li> </ul> <p>Sinks belong to a given Google Cloud resource: Google Cloud projects, billing accounts, folders, and organizations. When the resource receives a log entry, it routes the log entry according to the sinks contained by that resource and, if enabled, any ancestral sinks belonging under the <a href="/resource-manager/docs/cloud-platform-resource-hierarchy#resource-hierarchy-detail">resource hierarchy</a>. The log entry is sent to the destination associated with each matching sink.</p> <p>Cloud Logging provides two predefined sinks for each Google Cloud project, billing account, folder, and organization: <code translate="no" dir="ltr">_Required</code> and <code translate="no" dir="ltr">_Default</code>. All logs that are generated in a resource are automatically processed through these two sinks and then are stored either in the correspondingly named <a href="#required-bucket"><code translate="no" dir="ltr">_Required</code></a> or <a href="#default-bucket"><code translate="no" dir="ltr">_Default</code></a> buckets.</p> <p>Sinks act independently of each other. Regardless of how the predefined sinks process your log entries, you can create your own sinks to route some or all of your logs to various <a href="#destinations">supported destinations</a> or to exclude them from being stored by Cloud Logging.</p> <p>Which log entries are routed by a sink is controlled by configuring the sink&#39;s <a href="#inclusion-filters">inclusion filter</a> and <a href="#exclusions">exclusion filters</a>. Depending on the sink&#39;s configuration, every log entry received by Cloud Logging falls into one or more of these categories:</p> <ul> <li><p>Stored in Cloud Logging and not routed elsewhere.</p></li> <li><p>Stored in Cloud Logging and routed to a supported destination.</p></li> <li><p>Not stored in Cloud Logging but routed to a supported destination.</p></li> <li><p>Neither stored in Cloud Logging nor routed elsewhere.</p></li> </ul> <p>You usually <a href="/logging/docs/export/configure_export_v2">create sinks</a> at the Google Cloud project level, but if you want to combine and route logs from the resources contained by a Google Cloud organization or folder, you can create <a href="/logging/docs/export/aggregated_sinks">aggregated sinks</a>.</p> <p>Sinks only route log entries that arrive after the sink is created because routing happens as logs pass through the Logging API. If you need to route log entries retroactively, see <a href="/logging/docs/routing/copy-logs">Copy logs</a>. <h3 id="inclusion-filters" data-text="Inclusion filters" tabindex="-1">Inclusion filters</h3> <p>When a sink doesn&#39;t specify any filters, all log entries match and are routed to the sink&#39;s destination. You can configure the sink to select specific log entries by setting an inclusion filter. You can also set one or more <a href="#exclusions">exclusion filters</a> to exclude log entries from being routed.</p> <p>When you <a href="/logging/docs/export/configure_export_v2">configure a sink</a>, you specify its filters by using the <a href="/logging/docs/view/logging-query-language">Logging query language</a>.</p> <p>A log entry is routed by a sink based on these rules:</p> <ul> <li><p>If the log entry doesn&#39;t match the inclusion filter, then it isn&#39;t routed. When a sink doesn&#39;t specify an inclusion filter, then every log entry matches that filter.</p></li> <li><p>If the log entry matches the inclusion filter and at least one exclusion filter, then it isn&#39;t routed.</p></li> <li><p>If the log entry matches the inclusion filter and doesn&#39;t match any exclusion filter, then it is routed to the sink&#39;s destination.</p></li> </ul> <h3 id="exclusions" data-text="Exclusion filters" tabindex="-1">Exclusion filters</h3> <p>When you <a href="/logging/docs/export/configure_export_v2">create a sink</a>, you can set multiple exclusion filters. Exclusion filters let you exclude log entries that match the inclusion filter from being routed to the sink&#39;s destination or from being stored in a log bucket. You define exclusion filters by using the <a href="/logging/docs/view/logging-query-language">Logging query language</a>.</p> <p>Excluded log entries consume <a href="/logging/quotas#api-limits"><code translate="no" dir="ltr">entries.write</code> API quota</a> because they are excluded after they are received by the Logging API. You can&#39;t reduce the number of <a href="/logging/quotas#log-limits"><code translate="no" dir="ltr">entries.write</code> API calls</a> by excluding log entries.</p> <p>Excluded log entries aren&#39;t available in the Logs Explorer.</p> Log entries that aren&#39;t routed to at least one log bucket, either explicitly with exclusion filters or because they don&#39;t match any sinks with a Logging storage destination, are also excluded from Error Reporting. Therefore, these log entries aren&#39;t available to help troubleshoot failures. User-defined log-based metrics are computed from log entries in both included and excluded log entries. For more information, see <a href="/logging/docs/alerting/monitoring-logs#which-logs">Monitor your logs</a>. <h3 id="destinations" data-text="Supported destinations" tabindex="-1">Supported destinations</h3> <p>You can use the Log Router to route certain log entries to supported destinations in any Google Cloud project. Logging supports the following sink destinations:</p> <ul> <li><p><em>Cloud Logging bucket</em>: Provides storage in Cloud Logging. A <a href="/logging/docs/routing/overview#buckets">log bucket</a> can store log entries that are received by multiple Google Cloud projects. The log bucket can be in the same project in which log entries originate, or in a different project. For information about viewing log entries stored in log buckets, see <a href="/logging/docs/log-analytics">Query and view logs overview</a> and <a href="/logging/docs/export/using_exported_logs">View logs routed to Cloud Logging buckets</a>.</p> <p>You can combine your Cloud Logging data with other data by upgrading a log bucket to use Log Analytics, and then creating a linked dataset, which is a read-only dataset that can be queried by the <strong>BigQuery Studio</strong> and <strong>Looker Studio</strong> pages.</p> </li> </ul> <ul> <li><p><em>BigQuery dataset</em>: Provides storage of log entries in a writeable BigQuery dataset. The BigQuery dataset can be in the same project in which log entries originate, or in a different project. You can use big data analysis capabilities on the stored log entries. For information about viewing log entries routed to BigQuery, see <a href="/logging/docs/export/bigquery">View logs routed to BigQuery</a>.</p> <aside class="note"><strong>Note:</strong><span> Linked BigQuery datasets are read-only. These datasets can&#39;t be used as a sink destination.</span></aside></li> </ul> <ul> <li><em>Cloud Storage bucket</em>: Provides storage of log entries in Cloud Storage. The Cloud Storage bucket can be in the same project in which log entries originate, or in a different project. Log entries are stored as JSON files. For information about viewing log entries routed to Cloud Storage, see <a href="/logging/docs/export/storage">View logs routed to Cloud Storage</a>.</li> </ul> <ul> <li><p><em>Pub/Sub topic</em>: Provides support for third-party integrations. Log entries are formatted into JSON and then routed to a Pub/Sub topic. The topic can be in the same project in which log entries originate, or in a different project. For information about viewing log entries routed to Pub/Sub, see <a href="/logging/docs/export/pubsub">View logs routed to Pub/Sub</a>.</p></li> <li><p><em>Google Cloud project</em>: Route log entries to another Google Cloud project. In this configuration, the sinks in the destination project processes the log entries.</p></li> </ul> <p>For more information, see <a href="/logging/docs/export/configure_export_v2">Route logs to supported destinations</a>.</p> <h2 id="storing" data-text="Storing, viewing, and managing logs" tabindex="-1">Storing, viewing, and managing logs</h2> <p>The following section details how logs are stored in Cloud Logging, and how you can view and manage them.</p> <h3 id="buckets" data-text="Log buckets" tabindex="-1">Log buckets</h3> <p>Cloud Logging uses log buckets as containers in your Google Cloud projects, billing accounts, folders, and organizations to store and organize your logs data. The log entries that you store in Cloud Logging are indexed, optimized, and delivered to let you analyze your logs in real time. Cloud Logging buckets are different storage entities than the similarly named Cloud Storage buckets. <p>For each Google Cloud project, billing account, folder, and organization, Logging automatically creates two log buckets: <code translate="no" dir="ltr">_Required</code> and <code translate="no" dir="ltr">_Default</code>. Logging automatically creates sinks named <code translate="no" dir="ltr">_Required</code> and <code translate="no" dir="ltr">_Default</code> that, in the default configuration, route log entries to the correspondingly named buckets.</p> <p>You can disable the <code translate="no" dir="ltr">_Default</code> sink, which routes log entries to the <code translate="no" dir="ltr">_Default</code> log bucket. You can also change the behavior of the <code translate="no" dir="ltr">_Default</code> sinks created for any new Google Cloud projects or folders. For more information, see <a href="/logging/docs/default-settings">Configure default settings for organizations and folders</a>.</p> <p>You can&#39;t change routing rules for the <code translate="no" dir="ltr">_Required</code> bucket.</p> <p>Additionally, you can create <a href="#user-buckets">user-defined buckets</a> for any Google Cloud project.</p> <p>You create sinks to route all, or just a subset, of your log entries to any log bucket. This flexibility lets you choose the Google Cloud project in which your log entries are stored, and lets you store log entries from multiple resources in one location.</p> <p>For more information, see <a href="/logging/docs/buckets">Configure log buckets</a>.</p> <h4 id="required-bucket" data-text="_Required log bucket" tabindex="-1"><code translate="no" dir="ltr">_Required</code> log bucket</h4> <p>Cloud Logging automatically routes the following types of log entries to the <code translate="no" dir="ltr">_Required</code> bucket:</p> <ul> <li><a href="/logging/docs/audit#admin-activity">Admin Activity audit logs</a></li> <li><a href="/logging/docs/audit#system-event">System Event audit logs</a></li> <li>Google Workspace Admin Audit logs</li> <li>Enterprise Groups Audit logs</li> <li>Login Audit logs</li> </ul> <ul> <li>Access Transparency logs. For information about enabling Access Transparency logs, see the <a href="/assured-workloads/access-transparency/docs/overview" track-type="inline link">Access Transparency logs documentation</a>.</li> </ul> <p>Cloud Logging retains the log entries in the <code translate="no" dir="ltr">_Required</code> bucket for 400 days; you can&#39;t change this retention period.</p> <p>You can&#39;t modify or delete the <code translate="no" dir="ltr">_Required</code> bucket. You can&#39;t disable the <code translate="no" dir="ltr">_Required</code> sink, which routes log entries to the <code translate="no" dir="ltr">_Required</code> bucket.</p> <h4 id="default-bucket" data-text="_Default log bucket" tabindex="-1"><code translate="no" dir="ltr">_Default</code> log bucket</h4> <p>Any log entry that isn&#39;t stored in the <code translate="no" dir="ltr">_Required</code> bucket is routed by the <code translate="no" dir="ltr">_Default</code> sink to the <code translate="no" dir="ltr">_Default</code> bucket, unless you disable or otherwise edit the <code translate="no" dir="ltr">_Default</code> sink. For instructions on modifying sinks, see <a href="/logging/docs/export/configure_export_v2#managing_sinks">Manage sinks</a>.</p> <p>For example, Cloud Logging automatically routes the following types of log entries to the <code translate="no" dir="ltr">_Default</code> bucket:</p> <ul> <li><a href="/logging/docs/audit#data-access">Data Access audit logs</a></li> <li><a href="/logging/docs/audit#policy_denied">Policy Denied audit logs</a></li> </ul> <p>Cloud Logging retains the log entries in the <code translate="no" dir="ltr">_Default</code> bucket for 30 days, unless you <a href="/logging/docs/buckets#custom-retention">configure custom retention</a> for the bucket.</p> <p>You can&#39;t delete the <code translate="no" dir="ltr">_Default</code> bucket.</p> <h4 id="user-buckets" data-text="User-defined log buckets" tabindex="-1">User-defined log buckets</h4> <p>You can also <a href="/logging/docs/buckets#create_bucket">create user-defined log buckets</a> in any Google Cloud project. By applying sinks to your user-defined log buckets, you can route any subset of your log entries to any log bucket, letting you choose the Google Cloud project in which your log entries are stored, and lets you store log entries from multiple resources in one location.</p> <p>For example, for any log generated in project <code translate="no" dir="ltr">A</code>, you can configure a sink to route those log entries to a user-defined bucket in project <code translate="no" dir="ltr">A</code> or to a log bucket in project <code translate="no" dir="ltr">B</code>.</p> You can <a href="/logging/docs/buckets#custom-retention">configure custom retention</a> for the bucket. <p>For information about managing your user-defined log buckets, including deleting or updating them, see <a href="/logging/docs/buckets">Configure and manage log buckets</a>.</p> <h3 id="regionalization" data-text="Regionalization" tabindex="-1">Regionalization</h3> <p><a href="#buckets">Log buckets</a> are regional resources. The infrastructure that stores, indexes, and searches your log entries is located in a specific geographical location. Google Cloud manages that infrastructure so that your applications are available redundantly across the zones within that region.</p> <p>When you <a href="/logging/docs/buckets#create_bucket">create a log bucket</a> or set an <a href="/logging/docs/buckets#org-region">organization-level regional policy</a>, you can choose to store your log entries in any of the following regions:</p> <h4 id="global" data-text="Global" tabindex="-1">Global</h4> <aside class="note"><strong>Note:</strong><span> If you want to choose the storage location for your log data or choose where your log data is analyzed with Log Analytics, then don&#39;t create log buckets in the <code translate="no" dir="ltr">global</code> location. Instead, either use a regional log bucket or, if you have data in a BigQuery multi-region and want to colocate your log data, then set the location of your log buckets to the appropriate <a href="#eu-and-us">multi-region location</a>.</span></aside> <table> <thead> <tr> <th width="30%">Region name</th> <th>Region description</th> </tr> </thead> <tbody class="list"> <tr> <td><code translate="no" dir="ltr">global</code></td> <td><p>Logs stored in any data centers in the world. Logs might be moved to different data centers. No additional redundancy guarantees.</p> </td> </tr> </tbody> </table> <h4 id="eu-and-us" data-text="Multi-regions: EU and US" tabindex="-1">Multi-regions: EU and US</h4> <aside class="note"><strong>Note:</strong><span> If you have data in a <a href="/bigquery/docs/locations#multi-regions">BigQuery multi-region</a> and want to colocate your log data with that other business data then set the location of your log buckets to the appropriate multi-region. Alternatively, to control the storage location for your log data or where your log data is analyzed with Log Analytics, specify that location when you create the log bucket. Don&#39;t use the <code translate="no" dir="ltr">global</code> location.</span></aside> <table> <thead> <tr> <th width="30%">Region name</th> <th>Region description</th> </tr> </thead> <tbody class="list"> <tr> <td><code translate="no" dir="ltr">eu</code></td> <td><p>Logs stored in any data centers within the European Union. Logs might be moved to different data centers. No additional redundancy guarantees.</p> </td> </tr> <tr> <td><code translate="no" dir="ltr">us</code></td> <td><p>Logs stored in any data centers within the United States. Logs might be moved to different data centers. No additional redundancy guarantees.</p> </td> </tr> </tbody> </table> <h4 id="africa" data-text="Africa" tabindex="-1">Africa</h4> <table> <thead> <tr> <th width="50%">Region name</th> <th>Region description</th> </tr> </thead> <tbody class="list"> <tr> <td><code translate="no" dir="ltr">africa-south1</code></td> <td>Johannesburg</td> </tr> </tbody> </table> <h4 id="americas" data-text="Americas" tabindex="-1">Americas</h4> <table> <thead> <tr> <th width="50%">Region name</th> <th>Region description</th> </tr> </thead> <tbody class="list"> <tr> <td><code translate="no" dir="ltr">northamerica-northeast1</code></td> <td>Montréal</td> </tr> <tr> <td><code translate="no" dir="ltr">northamerica-northeast2</code></td> <td>Toronto</td> </tr> <tr> <td><code translate="no" dir="ltr">southamerica-east1</code></td> <td>São Paulo</td> </tr> <tr> <td><code translate="no" dir="ltr">southamerica-west1</code></td> <td>Santiago</td> </tr> <tr> <td><code translate="no" dir="ltr">us-central1</code></td> <td>Iowa</td> </tr> <tr> <td><code translate="no" dir="ltr">us-east1</code></td> <td>South Carolina</td> </tr> <tr> <td><code translate="no" dir="ltr">us-east4</code></td> <td>North Virginia</td> </tr> <tr> <td><code translate="no" dir="ltr">us-east5</code></td> <td>Columbus</td> </tr> <tr> <td><code translate="no" dir="ltr">us-south1</code></td> <td>Dallas</td> </tr> <tr> <td><code translate="no" dir="ltr">us-west1</code></td> <td>Oregon</td> </tr> <tr> <td><code translate="no" dir="ltr">us-west2</code></td> <td>Los Angeles</td> </tr> <tr> <td><code translate="no" dir="ltr">us-west3</code></td> <td>Salt Lake City</td> </tr> <tr> <td><code translate="no" dir="ltr">us-west4</code></td> <td>Las Vegas</td> </tr> </tbody> </table> <h4 id="asia_pacific" data-text="Asia Pacific" tabindex="-1">Asia Pacific</h4> <table> <thead> <tr> <th width="50%">Region name</th> <th>Region description</th> </tr> </thead> <tbody class="list"> <tr> <td><code translate="no" dir="ltr">asia-east1</code></td> <td>Taiwan</td> </tr> <tr> <td><code translate="no" dir="ltr">asia-east2</code></td> <td>Hong Kong</td> </tr> <tr> <td><code translate="no" dir="ltr">asia-northeast1</code></td> <td>Tokyo</td> </tr> <tr> <td><code translate="no" dir="ltr">asia-northeast2</code></td> <td>Osaka</td> </tr> <tr> <td><code translate="no" dir="ltr">asia-northeast3</code></td> <td>Seoul</td> </tr> <tr> <td><code translate="no" dir="ltr">asia-south1</code></td> <td>Mumbai</td> </tr> <tr> <td><code translate="no" dir="ltr">asia-south2</code></td> <td>Delhi</td> </tr> <tr> <td><code translate="no" dir="ltr">asia-southeast1</code></td> <td>Singapore</td> </tr> <tr> <td><code translate="no" dir="ltr">asia-southeast2</code></td> <td>Jakarta</td> </tr> <tr> <td><code translate="no" dir="ltr">australia-southeast1</code></td> <td>Sydney</td> </tr> <tr> <td><code translate="no" dir="ltr">australia-southeast2</code></td> <td>Melbourne</td> </tr> </tbody> </table> <h4 id="europe" data-text="Europe" tabindex="-1">Europe</h4> <table> <thead> <tr> <th width="50%">Region name</th> <th>Region description</th> </tr> </thead> <tbody class="list"> <tr> <td><code translate="no" dir="ltr">europe-central2</code></td> <td>Warsaw</td> </tr> <tr> <td><code translate="no" dir="ltr">europe-north1</code></td> <td>Finland</td> </tr> <tr> <td><code translate="no" dir="ltr">europe-southwest1</code></td> <td>Madrid</td> </tr> <tr> <td><code translate="no" dir="ltr">europe-west1</code></td> <td>Belgium</td> </tr> <tr> <td><code translate="no" dir="ltr">europe-west2</code></td> <td>London</td> </tr> <tr> <td><code translate="no" dir="ltr">europe-west3</code></td> <td>Frankfurt</td> </tr> <tr> <td><code translate="no" dir="ltr">europe-west4</code></td> <td>Netherlands</td> </tr> <tr> <td><code translate="no" dir="ltr">europe-west6</code></td> <td>Zurich</td> </tr> <tr> <td><code translate="no" dir="ltr">europe-west8</code></td> <td>Milan</td> </tr> <tr> <td><code translate="no" dir="ltr">europe-west9</code></td> <td>Paris</td> </tr> <tr> <td><code translate="no" dir="ltr">europe-west10</code></td> <td>Berlin</td> </tr> <tr> <td><code translate="no" dir="ltr">europe-west12</code></td> <td>Turin</td> </tr> </tbody> </table> <h4 id="middle_east" data-text="Middle East" tabindex="-1">Middle East</h4> <table> <thead> <tr> <th width="50%">Region name</th> <th>Region description</th> </tr> </thead> <tbody class="list"> <tr> <td><code translate="no" dir="ltr">me-central1</code></td> <td>Doha</td> </tr> <tr> <td><code translate="no" dir="ltr">me-central2</code></td> <td>Dammam</td> </tr> <tr> <td><code translate="no" dir="ltr">me-west1</code></td> <td>Tel Aviv</td> </tr> </tbody> </table> <p>When you set the location to <code translate="no" dir="ltr">global</code>, you don&#39;t need to specify where your log entries are physically stored.</p> <p>You can automatically apply a particular storage region to the <code translate="no" dir="ltr">_Default</code> and <code translate="no" dir="ltr">_Required</code> buckets created in an organization or folder. For more information, see <a href="/logging/docs/default-settings">Configure default settings for organizations and folders</a>.</p> <p>For more information about data regionality and where you can store your logs data, see <a href="/logging/docs/region-support">Understand data regions</a>.</p> <h3 id="org-policy" data-text="Organization policy" tabindex="-1">Organization policy</h3> <p>You can create an <a href="/resource-manager/docs/organization-policy/overview">organization policy</a> to ensure that your organization meets your compliance and regulatory needs. Using an organization policy, you can specify in which regions your organization can create new log buckets. You can also restrict your organization from creating new log buckets in specified regions.</p> <p>Cloud Logging doesn&#39;t enforce your newly created organization policy on existing log buckets; it only enforces the policy on new log buckets.</p> <p>For information about creating a location-based organization policy, see <a href="/resource-manager/docs/organization-policy/defining-locations">Restrict resource locations</a>.</p> <p>In addition, you can configure a default storage location for the <code translate="no" dir="ltr">_Default</code> and <code translate="no" dir="ltr">_Required</code> buckets in an organization or in a folder. If you configure an organization policy that constrains where data can be stored, then you must ensure that the default storage location you specify is consistent with that constraint. For more information, see <a href="/logging/docs/default-settings">Configure default settings for organizations and folders</a>.</p> <h3 id="logs-retention" data-text="Retention" tabindex="-1">Retention</h3> <aside class="note"><b>Note: </b> Effective April 1, 2023, retention costs apply to logs data retained longer than the <a href="/logging/quotas#logs_retention_periods">default retention period</a> of the <code translate="no" dir="ltr">_Default</code> bucket and user-defined log buckets. For pricing details, see <a href="/stackdriver/pricing#logging-pricing-summary" track-type="inline link">Cloud Logging pricing summary</a>. To review the billable storage for your log buckets, go to the <b>Logs Storage</b> page of the Google Cloud console. </aside> <p>Cloud Logging retains logs according to retention rules applying to the log bucket type where the logs are held. For information about the retention periods for different types of logs, see <a href="/logging/quotas#logs_retention_periods">Quotas and limits</a>.</p> <p>You can configure Cloud Logging to retain logs between 1 day and 3650 days. Custom retention rules apply to all the logs in a bucket, regardless of the log type or whether that log has been copied from another location.</p> <p>For information about setting retention rules for a log bucket, see <a href="/logging/docs/buckets#custom-retention">Configure custom retention</a>.</p> <h3 id="log-views" data-text="Log views" tabindex="-1">Log views</h3> <p>Log views let you grant a user access to only a subset of the log entries stored in a log bucket. For information about how to configure log views, and how to grant access to specific log views, see <a href="/logging/docs/logs-views">Configure log views on a log bucket</a>.</p> <p>For every log bucket, Cloud Logging automatically creates the <code translate="no" dir="ltr">_AllLogs</code> view, which shows all logs stored in that bucket. Cloud Logging also creates a view for the <code translate="no" dir="ltr">_Default</code> bucket called <code translate="no" dir="ltr">_Default</code>. The <code translate="no" dir="ltr">_Default</code> view for the <code translate="no" dir="ltr">_Default</code> bucket shows all logs except Data Access audit logs. The <code translate="no" dir="ltr">_AllLogs</code> and <code translate="no" dir="ltr">_Default</code> views aren&#39;t editable, and you can&#39;t delete the <code translate="no" dir="ltr">_Default</code> log view.</p> <p>Custom log views provide you with an advanced and granular way to control access to your logs data. For example, consider a scenario in which you <a href="/logging/docs/central-log-storage">store all of your organization&#39;s logs</a> in a central Google Cloud project. Because log buckets can contain logs from multiple Google Cloud projects, you might want to control which Google Cloud projects different users can view logs from. Using custom log views, you can give one user access to logs only from a single Google Cloud project, while you give another user access to logs from all the Google Cloud projects.</p> <h2 id="using-logs-in-cloud" data-text="Using logs in the Google Cloud ecosystem" tabindex="-1">Using logs in the Google Cloud ecosystem</h2> <p>The following section provides information about how to use logs in the broader Google Cloud.</p> <h3 id="metrics" data-text="Log-based metrics" tabindex="-1">Log-based metrics</h3> <p>Log-based metrics are <a href="/monitoring/docs">Cloud Monitoring</a> metrics that are derived from the content of log entries. For example, if Cloud Logging receives a log entry for a Google Cloud project that matches the filters of one of the Google Cloud project&#39;s metrics, then that log entry is counted in the metric data.</p> <p>Log-based metrics interact with routing differently, depending on whether the log-based metrics are defined by the system or by you. The following sections describe these differences.</p> <h4 id="lbm-and-sinks" data-text="Log-based metrics and exclusion filters" tabindex="-1">Log-based metrics and exclusion filters</h4> <p>Sink exclusion filters apply to system-defined log-based metrics, which count only logs that are stored in log buckets.</p> <p>Sink exclusion filters don&#39;t apply to user-defined log-based metrics. Even if you exclude logs from being stored in any Logging buckets, you could see those logs counted in these metrics.</p> <h4 id="lbm-scope" data-text="Scope of log-based metrics" tabindex="-1">Scope of log-based metrics</h4> <p>System-defined log-based metrics apply at the Google Cloud project level. These metrics are calculated by the Log Router and apply to logs only in the Google Cloud project in which they&#39;re received.</p> <p>User-defined log-based metrics can apply at either the Google Cloud project level or at the level of a specific log bucket:</p> <ul> <li>Project-level metrics are calculated like system-defined log-based metrics; these user-defined log-based metrics apply to logs only in the Google Cloud project in which they&#39;re received.</li> <li><p>Bucket-scoped metrics apply to logs in the log bucket in which they&#39;re received, <em>regardless of the Google Cloud project in which the log entries originated</em>.</p> <p>With bucket-scoped log-based metrics, you can create log-based metrics that can evaluate logs in the following cases:</p> <ul> <li>Logs that are routed from one project to a bucket in another project.</li> <li>Logs that are routed into a bucket through an aggregated sink.</li> </ul></li> </ul> <p>For more information, see <a href="/logging/docs/logs-based-metrics">Log-based metrics overview</a>.</p> <h3 id="view-destination" data-text="Finding logs in supported destinations" tabindex="-1">Finding logs in supported destinations</h3> <p>To learn about the format of routed log entries and how the logs are organized in destinations, see <a href="/logging/docs/export/using_exported_logs">View logs in sink destinations</a>.</p> <h3 id="use-case" data-text="Common use cases" tabindex="-1">Common use cases</h3> <p>To address common use cases for routing and storing logs, see the following documents and tutorials:</p> <ul> <li><p><a href="/logging/docs/central-log-storage">Aggregate your organization&#39;s log into a central log bucket</a></p></li> <li><p><a href="/logging/docs/regionalized-logs">Regionalize your logs</a></p></li> </ul> <ul> <li><a href="/stackdriver/docs/solutions/gke/multi-tenant-logging">Configure multi-tenant logging for Google Kubernetes Engine (GKE) clusters</a></li> </ul> <h3 id="compliance" data-text="Compliance needs" tabindex="-1">Compliance needs</h3> <p>For best practices about using routing for data governance, see the following documents:</p> <ul> <li><a href="/logging/docs/routing/managed-encryption">Configure CMEK for logs routing</a></li> </ul> <ul> <li><p><a href="https://services.google.com/fh/files/misc/whitepaper_data_governance_logs_how_to.pdf">Logs data: A step by step guide for overcoming common compliance challenges</a></p></li> <li><p><a href="/resources/data-governance-logs-best-practices-whitepaper">Data governance: Principles for securing and managing logs</a></p></li> </ul> <h2 id="access-control" data-text="Access control with IAM" tabindex="-1">Access control with IAM</h2> <p>For information about how you use <a href="/iam/docs/overview">Identity and Access Management (IAM)</a> roles and permissions to control access to Cloud Logging data, see the <a href="/logging/docs/access-control">Access control with IAM</a>.</p> <h2 id="pricing" data-text="Pricing" tabindex="-1">Pricing</h2> <p>Cloud Logging doesn't charge to route logs to a supported destination; however, the destination might apply charges. With the exception of the <code translate="no" dir="ltr">_Required</code> log bucket, Cloud Logging charges to stream logs into log buckets and for storage longer than the default retention period of the log bucket.</p> <p>Cloud Logging doesn't charge for copying logs, for defining <a href="/logging/docs/log-scope/create-and-manage">log scopes</a>, or for queries issued through the <b>Logs Explorer</b> or <b>Log Analytics</b> pages.</p> <p>For more information, see the following documents:</p> <ul> <li><a href="/stackdriver/pricing#logs-pricing-summary">Cloud Logging pricing summary</a></li> <li><p>Destination costs:</p> <ul> <li><a href="/storage/pricing">Cloud Storage pricing</a></li> <li><a href="/bigquery/pricing#data_ingestion_pricing">BigQuery pricing</a></li> <li><a href="/pubsub/pricing">Pub/Sub pricing</a></li> <li><a href="/stackdriver/pricing#logging-cost">Cloud Logging pricing</a></li> </ul> <li> <a href="/vpc/network-pricing#network-telemetry">VPC flow log generation charges</a> apply when you send and then exclude your Virtual Private Cloud flow logs from Cloud Logging.</li> </li> </ul> <h2 id="whats_next" data-text="What's next" tabindex="-1">What's next</h2> <p>To help you route and store Cloud Logging data, see the following documents:</p> <ul> <li><p>To create sinks to route log entries to supported destinations, see <a href="/logging/docs/export/configure_export_v2">Route logs to supported destinations</a>.</p></li> <li><p>To learn how to create aggregated sinks that can route log entries from the resources in folders or organizations, see <a href="/logging/docs/export/aggregated_sinks">Collate and route organization- and folder-level logs to supported destinations</a>.</p></li> <li><p>To learn how to grant access to a subset of log entries that are stored in a log bucket, see <a href="/logging/docs/logs-views">Configure log views on a log bucket</a>.</p></li> </ul> <ul> <li>Error Reporting can analyze log entries and report errors to you. For more information about this service, including information about when log entries can be analyzed, see <a href="/error-reporting/docs/grouping-errors">Error Reporting overview</a>.</li> </ul> <devsite-hats-survey class="nocontent" hats-id="mwETRvWii0eU5NUYprb0Y9z5GVbc" listnr-id="83405"></devsite-hats-survey> </div> <devsite-thumb-rating position="footer"> </devsite-thumb-rating> <devsite-feedback position="footer" project-name="Cloud Logging" product-id="714033" bucket="Documentation" context="Logging docs feedback link" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="footer" class="nocontent" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png" > <button> Send feedback </button> </devsite-feedback> <div class="devsite-floating-action-buttons"> </div> </article> <devsite-content-footer class="nocontent"> <p>Except as otherwise noted, the content of this page is licensed under the <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 License</a>, and code samples are licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache 2.0 License</a>. For details, see the <a href="https://developers.google.com/site-policies">Google Developers Site Policies</a>. Java is a registered trademark of Oracle and/or its affiliates.</p> <p>Last updated 2024-11-22 UTC.</p> </devsite-content-footer> <devsite-notification > </devsite-notification> <div class="devsite-content-data"> <template class="devsite-thumb-rating-feedback"> <devsite-feedback position="thumb-rating" project-name="Cloud Logging" product-id="714033" bucket="Documentation" context="Logging docs feedback link" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="thumb-rating" class="nocontent" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png" > <button> Need to tell us more? </button> </devsite-feedback> </template> <template class="devsite-content-data-template"> [[["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 2024-11-22 UTC."],[],[]] </template> </div> </devsite-content> </main> <devsite-footer-promos class="devsite-footer"> </devsite-footer-promos> <devsite-footer-linkboxes class="devsite-footer"> <nav class="devsite-footer-linkboxes nocontent" aria-label="Footer links"> <ul class="devsite-footer-linkboxes-list"> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Why Google</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/why-google-cloud/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-name="choosing google cloud"track-metadata-eventDetail="cloud.google.com/why-google-cloud/"track-metadata-child_headline="why google"track-type="footer link"track-metadata-module="footer"track-metadata-position="footer"> Choosing Google Cloud </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/trust-center/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-name="trust and security"track-type="footer link"track-metadata-position="footer"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/security/"track-metadata-child_headline="why google"> Trust and security </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/modern-infrastructure/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-name="modern infrastructure cloud"track-metadata-child_headline="why google"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/solutions/modern-infrastructure/"track-metadata-module="footer"track-type="footer link"> Modern Infrastructure Cloud </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/multicloud/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-type="footer link"track-metadata-eventDetail="cloud.google.com/multicloud/"track-metadata-child_headline="why google"track-metadata-module="footer"track-name="multicloud"track-metadata-position="footer"> Multicloud </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/infrastructure/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-metadata-child_headline="why google"track-type="footer link"track-metadata-eventDetail="cloud.google.com/infrastructure/"track-metadata-position="footer"track-metadata-module="footer"track-name="global infrastructure"> Global infrastructure </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/customers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-type="footer link"track-name="customers and case studies"track-metadata-module="footer"track-metadata-child_headline="why google"track-metadata-eventDetail="cloud.google.com/customers/"track-metadata-position="footer"> Customers and case studies </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/analyst-reports/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-metadata-position="footer"track-type="footer link"track-metadata-eventDetail="cloud.google.com/analyst-reports/"track-name="analyst reports"track-metadata-module="footer"track-metadata-child_headline="why google"> Analyst reports </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/whitepapers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-metadata-position="footer"track-name="whitepapers"track-type="footer link"track-metadata-eventDetail="cloud.google.com/whitepapers/"track-metadata-module="footer"track-metadata-child_headline="why google"> Whitepapers </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//cloud.google.com/blog/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-type="footer link"track-name="blog"track-metadata-eventDetail="cloud.google.com/blog/"track-metadata-child_headline="engage"track-metadata-position="footer"track-metadata-module="footer"> Blog </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Products and pricing</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/pricing/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-metadata-position="footer"track-name="google cloud pricing"track-metadata-child_headline="products and pricing"track-metadata-eventDetail="cloud.google.com/pricing/"track-metadata-module="footer"track-type="footer link"> Google Cloud pricing </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//workspace.google.com/pricing.html" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-metadata-child_headline="products and pricing"track-metadata-position="footer"track-name="google workspace pricing"track-metadata-module="footer"track-type="footer link"track-metadata-eventDetail="workspace.google.com/pricing.html"target="_blank"> Google Workspace pricing </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/products/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-metadata-position="footer"track-name="see all products"track-metadata-child_headline="products and pricing"track-metadata-eventDetail="cloud.google.com/products/"track-type="footer link"track-metadata-module="footer"> See all products </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Solutions</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/solutions/infrastructure-modernization/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-metadata-child_headline="solutions"track-name="infrastructure modernization"track-type="footer link"track-metadata-eventDetail="cloud.google.com/solutions/infrastructure-modernization/"track-metadata-module="footer"track-metadata-position="footer"> Infrastructure modernization </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/databases/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-metadata-eventDetail="cloud.google.com/solutions/databases"track-metadata-child_headline="solutions"track-metadata-position="footer"track-name="databases"track-metadata-module="footer"track-type="footer link"> Databases </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/application-modernization/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-metadata-child_headline="solutions"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/solutions/application-modernization/"track-type="footer link"track-name="application development"track-metadata-module="footer"> Application modernization </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/smart-analytics/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/solutions/smart-analytics/"track-metadata-child_headline="solutions"track-type="footer link"track-name="smart analytics"track-metadata-position="footer"> Smart analytics </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/ai/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-metadata-position="footer"track-metadata-child_headline="solutions"track-type="footer link"track-metadata-module="footer"track-name="artificial intelligence"track-metadata-eventDetail="cloud.google.com/solutions/ai/"> Artificial Intelligence </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/security/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-name="security"track-metadata-child_headline="solutions"track-type="footer link"track-metadata-eventDetail="cloud.google.com/solutions/security/"track-metadata-module="footer"track-metadata-position="footer"> Security </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://workspace.google.com/enterprise/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-metadata-module="footer"track-type="footer link"track-metadata-position="footer"track-metadata-eventDetail="workspace.google.com/enterprise/"track-metadata-child_headline="solutions"track-name="productivity and work transformation"target="_blank"> Productivity & work transformation </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/#industry-solutions" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-metadata-child_headline="solutions"track-metadata-position="footer"track-type="footer link"track-metadata-eventDetail="cloud.google.com/solutions/#industry-solutions"track-name="industry solutions"track-metadata-module="footer"> Industry solutions </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/devops/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-metadata-child_headline="solutions"track-name="devops solutions"track-metadata-eventDetail="cloud.google.com/solutions/devops/"track-metadata-module="footer"track-metadata-position="footer"track-type="footer link"> DevOps solutions </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/#section-14" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 10)" track-metadata-child_headline="solutions"track-name="small business solutions"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/solutions/#section-14"track-type="footer link"track-metadata-position="footer"> Small business solutions </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 11)" track-name="see all solutions"track-metadata-position="footer"track-metadata-module="footer"track-metadata-child_headline="solutions"track-metadata-eventDetail="cloud.google.com/solutions/"track-type="footer link"> See all solutions </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Resources</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/affiliate-program/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-name="google cloud affiliate program"track-metadata-position="footer"track-metadata-child_headline="resources"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/affiliate-program/"track-type="footer link"> Google Cloud Affiliate Program </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-type="footer link"track-metadata-eventDetail="cloud.google.com/docs/"track-metadata-child_headline="resources"track-metadata-position="footer"track-metadata-module="footer"track-name="google cloud documentation"> Google Cloud documentation </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/get-started/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-metadata-module="footer"track-metadata-child_headline="resources"track-type="footer link"track-metadata-eventDetail="cloud.google.com/docs/get-started/"track-metadata-position="footer"track-name="google cloud quickstarts"> Google Cloud quickstarts </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/marketplace/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-module="footer"track-name="google cloud marketplace"track-metadata-position="footer"track-type="footer link"track-metadata-child_headline="resources"track-metadata-eventDetail="cloud.google.com/marketplace/"> Google Cloud Marketplace </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/discover/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-name="learn about cloud computing"track-metadata-module="footer"track-metadata-child_headline="resources"track-type="footer link"track-metadata-eventDetail="learn/"track-metadata-position="footer"> Learn about cloud computing </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/support-hub/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-name="support"track-type="footer link"track-metadata-eventDetail="cloud.google.com/support-hub/"track-metadata-position="footer"track-metadata-module="footer"track-metadata-child_headline="resources"> Support </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/samples" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-type="footer link"track-metadata-module="footer"track-metadata-child_headline="resources"track-metadata-eventDetail="cloud.google.com/docs/samples"track-metadata-position="footer"track-name="code samples"> Code samples </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/architecture/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-name="cloud architecture center"track-type="footer link"track-metadata-eventDetail="cloud.google.com/architecture/"track-metadata-module="footer"track-metadata-position="footer"track-metadata-child_headline="resources"> Cloud Architecture Center </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/learn/training/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-metadata-module="footer"track-type="footer link"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/training/"track-name="training"track-metadata-child_headline="resources"> Training </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/learn/certification/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 10)" track-type="footer link"track-metadata-eventDetail="cloud.google.com/certification"track-name="certifications"track-metadata-child_headline="resources"track-metadata-module="footer"track-metadata-position="footer"> Certifications </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//developers.google.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 11)" target="_blank"track-type="footer link"track-metadata-module="footer"track-name="google developers"track-metadata-child_headline="resources"track-metadata-eventDetail="developers.google.com"track-metadata-position="footer"> Google for Developers </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/startup/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 12)" track-name="google cloud for startups"track-metadata-child_headline="resources"track-type="footer link"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/startup/"track-metadata-module="footer"> Google Cloud for Startups </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//status.cloud.google.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 13)" track-name="system status"track-metadata-child_headline="resources"track-metadata-eventDetail="status.cloud.google.com"target="_blank"track-type="footer link"track-metadata-position="footer"track-metadata-module="footer"> System status </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/release-notes" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 14)" track-metadata-child_headline="resources"track-metadata-position="footer"track-type="footer link"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/release-notes/"track-name="release notes"> Release Notes </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Engage</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/contact/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-name="contact sales"track-metadata-child_headline="engage"track-metadata-position="footer"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/contact/"track-type="footer link"> Contact sales </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//cloud.google.com/find-a-partner" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-type="footer link"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/find-a-partner"track-name="find a partner"track-metadata-child_headline="engage"track-metadata-position="footer"target="_blank"> Find a Partner </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/partners/become-a-partner/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-name="become a partner"track-metadata-position="footer"track-metadata-child_headline="engage"track-type="footer link"track-metadata-eventDetail="cloud.google.com/partners/become-a-partner/"track-metadata-module="footer"> Become a Partner </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/events/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-module="footer"track-metadata-position="footer"track-metadata-eventDetail="cloud.withgoogle.com/events"track-name="events"track-type="footer link"track-metadata-child_headline="engage"> Events </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/podcasts/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-metadata-module="footer"target="_blank"rel="noopener"track-name="podcasts"track-metadata-eventDetail="cloud.google.com/podcasts/"track-metadata-child_headline="engage"track-type="footer link"track-metadata-position="footer"> Podcasts </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/developers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-metadata-module="footer"track-name="developer center"track-metadata-eventDetail="cloud.google.com/developers/"track-metadata-child_headline="engage"track-type="footer link"track-metadata-position="footer"> Developer Center </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://www.googlecloudpresscorner.com/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-metadata-module="footer"rel="noopener"track-metadata-eventDetail="www.googlecloudpresscorner.com"track-metadata-position="footer"track-name="press corner"track-type="footer link"target="_blank"track-metadata-child_headline="engage"> Press Corner </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.youtube.com/googlecloud" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-name="google cloud on youtube"target="_blank"track-metadata-module="footer"track-metadata-child_headline="engage"track-type="footer link"track-metadata-position="footer"track-metadata-eventDetail="www.youtube.com/googlecloud"rel="noopener"> Google Cloud on YouTube </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.youtube.com/googlecloudplatform" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-metadata-eventDetail="www.youtube.com/googlecloudplatform"track-metadata-position="footer"track-metadata-child_headline="engage"track-metadata-module="footer"rel="noopener"track-name="google cloud tech on youtube"target="_blank"track-type="footer link"> Google Cloud Tech on YouTube </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//x.com/googlecloud" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 10)" track-metadata-child_headline="engage"track-name="follow on x"target="_blank"rel="noopener"track-metadata-eventDetail="x.com/googlecloud"track-type="footer link"track-metadata-module="footer"track-metadata-position="footer"> Follow on X </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//userresearch.google.com/?reserved=1&amp;utm_source=website&amp;Q_Language=en&amp;utm_medium=own_srch&amp;utm_campaign=CloudWebFooter&amp;utm_term=0&amp;utm_content=0&amp;productTag=clou&amp;campaignDate=jul19&amp;pType=devel&amp;referral_code=jk212693" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 11)" track-metadata-eventDetail="userresearch.google.com/?reserved=1&amp;utm_source=website&amp;Q_Language=en&amp;utm_medium=own_srch&amp;utm_campaign=CloudWebFooter&amp;utm_term=0&amp;utm_content=0&amp;productTag=clou&amp;campaignDate=jul19&amp;pType=devel&amp;referral_code=jk212693"track-metadata-module="footer"track-metadata-child_headline="engage"track-metadata-position="footer"track-type="footer link"track-name="join user research"target="_blank"> Join User Research </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//careers.google.com/cloud" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 12)" track-metadata-child_headline="engage"target="_blank"track-metadata-position="footer"track-type="footer link"track-name="we are hiring join google cloud"track-metadata-eventDetail="careers.google.com/cloud"track-metadata-module="footer"> We're hiring. Join Google Cloud! </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://www.googlecloudcommunity.com/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 13)" track-type="footer link"track-metadata-child_headline="engage"rel="noopener"track-metadata-position="footer"target="_blank"track-name="google cloud community"track-metadata-eventDetail="www.googlecloudcommunity.com"track-metadata-module="footer"> Google Cloud Community </a> </li> </ul> </li> </ul> </nav> </devsite-footer-linkboxes> <devsite-footer-utility class="devsite-footer"> <div class="devsite-footer-utility nocontent"> <nav class="devsite-footer-utility-links" aria-label="Utility links"> <ul class="devsite-footer-utility-list"> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="//about.google/" data-category="Site-Wide Custom Events" data-label="Footer About Google link" track-name="about google" track-type="footer link" track-metadata-module="utility footer" track-metadata-eventDetail="//about.google/" track-metadata-position="footer" target="_blank" > About Google </a> </li> <li class="devsite-footer-utility-item devsite-footer-privacy-link"> <a class="devsite-footer-utility-link gc-analytics-event" href="//policies.google.com/privacy" data-category="Site-Wide Custom Events" data-label="Footer Privacy link" track-metadata-position="footer" track-type="footer link" target="_blank" track-metadata-module="utility footer" track-metadata-eventDetail="//policies.google.com/privacy" track-name="privacy" > Privacy </a> </li> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="//www.google.com/intl/en/policies/terms/regional.html" data-category="Site-Wide Custom Events" data-label="Footer Site terms link" target="_blank" track-metadata-eventDetail="//www.google.com/intl/en/policies/terms/regional.html" track-name="site terms" track-metadata-position="footer" track-metadata-module="utility footer" track-type="footer link" > Site terms </a> </li> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="/product-terms/" data-category="Site-Wide Custom Events" data-label="Footer Google Cloud terms link" track-name="google cloud terms" track-metadata-eventDetail="/product-terms/" track-metadata-module="utility footer" track-metadata-position="footer" track-type="footer link" > Google Cloud terms </a> </li> <li class="devsite-footer-utility-item glue-cookie-notification-bar-control"> <a class="devsite-footer-utility-link gc-analytics-event" href="#" data-category="Site-Wide Custom Events" data-label="Footer Manage cookies link" track-type="footer link" track-name="Manage cookies" track-metadata-position="footer" aria-hidden="true" track-metadata-module="utility footer" track-metadata-eventDetail="#" > Manage cookies </a> </li> <li class="devsite-footer-utility-item devsite-footer-carbon-button"> <a class="devsite-footer-utility-link gc-analytics-event" href="/sustainability" data-category="Site-Wide Custom Events" data-label="Footer Our third decade of climate action: join us link" track-type="footer link" track-metadata-position="footer" track-metadata-eventDetail="/sustainability/" track-metadata-module="utility footer" track-name="Our third decade of climate action: join us" > Our third decade of climate action: join us </a> </li> <li class="devsite-footer-utility-item devsite-footer-utility-button"> <span class="devsite-footer-utility-description">Sign up for the Google Cloud newsletter</span> <a class="devsite-footer-utility-link gc-analytics-event" href="/newsletter/" data-category="Site-Wide Custom Events" data-label="Footer Subscribe link" track-metadata-position="footer" track-metadata-eventDetail="/newsletter/" track-metadata-module="utility footer" track-name="subscribe" track-type="footer link" > Subscribe </a> </li> </ul> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> </nav> </div> </devsite-footer-utility> <devsite-panel></devsite-panel> </section></section> <devsite-sitemask></devsite-sitemask> <devsite-snackbar></devsite-snackbar> <devsite-tooltip ></devsite-tooltip> <devsite-heading-link></devsite-heading-link> <devsite-analytics> <script type="application/json" analytics>[]</script> <script type="application/json" tag-management>{&#34;at&#34;: &#34;True&#34;, &#34;ga4&#34;: [], &#34;ga4p&#34;: [], &#34;gtm&#34;: [{&#34;id&#34;: &#34;GTM-5CVQBG&#34;, &#34;purpose&#34;: 1}], &#34;parameters&#34;: {&#34;internalUser&#34;: &#34;False&#34;, &#34;language&#34;: {&#34;machineTranslated&#34;: &#34;False&#34;, &#34;requested&#34;: &#34;en&#34;, &#34;served&#34;: &#34;en&#34;}, &#34;pageType&#34;: &#34;article&#34;, &#34;projectName&#34;: &#34;Cloud Logging&#34;, &#34;signedIn&#34;: &#34;False&#34;, &#34;tenant&#34;: &#34;cloud&#34;, &#34;recommendations&#34;: {&#34;sourcePage&#34;: &#34;&#34;, &#34;sourceType&#34;: 0, &#34;sourceRank&#34;: 0, &#34;sourceIdenticalDescriptions&#34;: 0, &#34;sourceTitleWords&#34;: 0, &#34;sourceDescriptionWords&#34;: 0, &#34;experiment&#34;: &#34;&#34;}, &#34;experiment&#34;: {&#34;ids&#34;: &#34;&#34;}}}</script> </devsite-analytics> <devsite-badger></devsite-badger> <cloudx-user></cloudx-user> <cloudx-free-trial-eligible-store freeTrialEligible='true'></cloudx-free-trial-eligible-store> <cloudx-pricing-socket></cloudx-pricing-socket> <cloudx-experiments type="TestAACodivertedExperiment" path="/virtual/TestAACodivertedExperiment/configureExperiment" location="SG" variant="variant2" ></cloudx-experiments> <cloudx-experiment-ids userCountry="SG" devsiteExperimentIdList="[39300012, 39300020, 39300118, 39300195, 39300251, 39300318, 39300322, 39300326, 39300346, 39300354, 39300363, 39300373, 39300412, 39300421, 39300436, 39300473, 39300487, 39300496, 39300498]"> </cloudx-experiment-ids> <script nonce="y259adcpLSE08OAiF7ifmLS0ADf6V4"> (function(d,e,v,s,i,t,E){d['GoogleDevelopersObject']=i; t=e.createElement(v);t.async=1;t.src=s;E=e.getElementsByTagName(v)[0]; E.parentNode.insertBefore(t,E);})(window, document, 'script', 'https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/js/app_loader.js', '[2,"en",null,"/js/devsite_app_module.js","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud","https://cloud-dot-devsite-v2-prod.appspot.com",null,null,["/_pwa/cloud/manifest.json","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/images/video-placeholder.svg","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/favicon.ico","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/cloud-logo.svg","https://fonts.googleapis.com/css?family=Google+Sans:400,500,700|Google+Sans+Text:400,400italic,500,500italic,700,700italic|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"],1,null,[1,6,8,12,14,17,21,25,50,52,63,70,75,76,80,87,91,92,93,97,98,100,101,102,103,104,105,107,108,109,110,112,113,116,117,118,120,122,124,125,126,127,129,130,131,132,133,134,135,136,138,140,141,147,148,149,151,152,156,157,158,159,161,163,164,168,169,170,179,180,182,183,186,191,193,196],"AIzaSyAP-jjEJBzmIyKR4F-3XITp8yM9T1gEEI8","AIzaSyB6xiKGDR5O3Ak2okS4rLkauxGUG7XP0hg","cloud.google.com","AIzaSyAQk0fBONSGUqCNznf6Krs82Ap1-NV6J4o","AIzaSyCCxcqdrZ_7QMeLCRY20bh_SXdAYqy70KY",null,null,null,["CloudShell__cloud_code_overflow_menu","Profiles__enable_recognition_badges","Cloud__enable_cloudx_experiment_ids","Cloud__enable_llm_concierge_chat","Profiles__enable_profile_collections","TpcFeatures__enable_required_headers","MiscFeatureFlags__enable_view_transitions","Cloud__enable_cloud_dlp_service","Search__enable_dynamic_content_confidential_banner","Profiles__enable_page_saving","Search__enable_suggestions_from_borg","Concierge__enable_pushui","MiscFeatureFlags__developers_footer_dark_image","Cloud__enable_legacy_calculator_redirect","MiscFeatureFlags__enable_firebase_utm","Profiles__enable_completecodelab_endpoint","Cloud__enable_cloud_shell_fte_user_flow","Concierge__enable_concierge_restricted","MiscFeatureFlags__enable_project_variables","Profiles__enable_public_developer_profiles","DevPro__enable_cloud_innovators_plus","Profiles__enable_developer_profiles_callout","Profiles__enable_dashboard_curated_recommendations","Profiles__require_profile_eligibility_for_signin","EngEduTelemetry__enable_engedu_telemetry","Cloud__enable_free_trial_server_call","CloudShell__cloud_shell_button","Search__enable_page_map","MiscFeatureFlags__enable_variable_operator","Search__enable_ai_eligibility_checks","Profiles__enable_release_notes_notifications","Experiments__reqs_query_experiments","Search__enable_ai_search_summaries","Analytics__enable_clearcut_logging","MiscFeatureFlags__emergency_css","DevPro__enable_developer_subscriptions","Profiles__enable_complete_playlist_endpoint","Cloud__enable_cloud_facet_chat","Cloud__enable_cloudx_ping","Cloud__enable_cloud_shell","TpcFeatures__enable_mirror_tenant_redirects","MiscFeatureFlags__developers_footer_image","MiscFeatureFlags__enable_explain_this_code","BookNav__enable_tenant_cache_key","Profiles__enable_awarding_url","Search__scope_to_project_tenant","Search__enable_ai_search_summaries_restricted"],null,null,"AIzaSyBLEMok-5suZ67qRPzx0qUtbnLmyT_kCVE","https://developerscontentserving-pa.clients6.google.com","AIzaSyCM4QpTRSqP5qI4Dvjt4OAScIN8sOUlO-k","https://developerscontentsearch-pa.clients6.google.com",1,4,1,"https://developerprofiles-pa.clients6.google.com",[2,"cloud","Google Cloud","cloud.google.com",null,"cloud-dot-devsite-v2-prod.appspot.com",null,null,[1,1,null,null,null,null,null,null,null,null,null,[1],null,null,null,null,null,1,[1],[null,null,null,[1,20],"/terms/recommendations"],[1],null,[1],[1,null,1],[1,1,null,null,1,null,["/vertex-ai/"]]],null,[22,null,null,null,null,null,"/images/cloud-logo.svg","/images/favicons/onecloud/apple-icon.png",null,null,null,null,1,1,1,[6,5],[],null,null,[[],[],[],[],[],[],[],[]],null,1,null,null,null,null,[]],[],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[6,1,14,15,22,23,29,37],null,[[null,null,null,null,null,null,[1,[["docType","Choose a content type",[["ApiReference",null,null,null,null,null,null,null,null,"API reference"],["Sample",null,null,null,null,null,null,null,null,"Code sample"],["ReferenceArchitecture",null,null,null,null,null,null,null,null,"Reference architecture"],["Tutorial",null,null,null,null,null,null,null,null,"Tutorial"]]],["category","Choose a topic",[["AiAndMachineLearning",null,null,null,null,null,null,null,null,"Artificial intelligence and machine learning (AI/ML)"],["ApplicationDevelopment",null,null,null,null,null,null,null,null,"Application development"],["BigDataAndAnalytics",null,null,null,null,null,null,null,null,"Big data and analytics"],["Compute",null,null,null,null,null,null,null,null,"Compute"],["Containers",null,null,null,null,null,null,null,null,"Containers"],["Databases",null,null,null,null,null,null,null,null,"Databases"],["HybridCloud",null,null,null,null,null,null,null,null,"Hybrid and multicloud"],["LoggingAndMonitoring",null,null,null,null,null,null,null,null,"Logging and monitoring"],["Migrations",null,null,null,null,null,null,null,null,"Migrations"],["Networking",null,null,null,null,null,null,null,null,"Networking"],["SecurityAndCompliance",null,null,null,null,null,null,null,null,"Security and compliance"],["Serverless",null,null,null,null,null,null,null,null,"Serverless"],["Storage",null,null,null,null,null,null,null,null,"Storage"]]]]]],[1],null,1],[[null,null,null,null,null,["GTM-5CVQBG"],null,null,null,null,null,[["GTM-5CVQBG",2]],1],null,null,null,null,null,1],"mwETRvWii0eU5NUYprb0Y9z5GVbc",4,null,null,null,null,null,null,null,null,null,null,null,null,null,"cloud.devsite.google"],null,"pk_live_5170syrHvgGVmSx9sBrnWtA5luvk9BwnVcvIi7HizpwauFG96WedXsuXh790rtij9AmGllqPtMLfhe2RSwD6Pn38V00uBCydV4m"]') </script> <devsite-a11y-announce></devsite-a11y-announce> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10