--- id: cloud-logging title: Google Cloud Logging sidebar_label: Google Cloud Logging description: Learn about the Sumo Logic collection process for the Google Cloud Logging service. slug: /help/docs/integrations/google/cloud-logging/ canonical: https://www.sumologic.com/help/docs/integrations/google/cloud-logging/ --- import useBaseUrl from '@docusaurus/useBaseUrl'; Google Cloud Logging icon Cloud Logging is a real-time log management system with storage, search, analysis, and monitoring support. Cloud Logging automatically collects logs from Google Cloud resources. For more details, refer to the [GCP documentation](https://cloud.google.com/logging/docs/overview). ## Log and metric types * [Google Cloud Metrics](https://cloud.google.com/monitoring/api/metrics_gcp) * [Audit Logs](https://cloud.google.com/logging/docs/audit) ## Setup You can collect the logs and metrics for Sumo Logic's Google Cloud Logging integration by following the below steps. ### Configure logs collection * Collect **Audit Logs** using the [Google Cloud Platform source](/docs/send-data/hosted-collectors/google-source/google-cloud-platform-source). These Audit Logs can be accessed based on the [permissions and roles](https://cloud.google.com/logging/docs/audit-logging#audit_log_permissions). To enable logging for Google Logging, refer to the [Google documentation](https://cloud.google.com/logging/docs/audit-logging#enabling_audit_logging). For more details on log operations auditing, refer to [audited operations](https://cloud.google.com/logging/docs/audit-logging#audited_operations). While creating the sync in GCP, as part of the **Choose logs to include in sink** section, you can use the following query: ```sql (resource.type=(logging_bucket OR logging_exclusion OR logging_log OR logging_sink )) ``` ### Configure metrics collection * Collect **GCP Metrics** using the [GCP Metrics](/docs/send-data/hosted-collectors/google-source/gcp-metrics-source/) source. Under the **Services** dropdown, select **Cloud Logging**. For Google Logging metrics and dimensions, refer to [Google Logging metrics](https://cloud.google.com/monitoring/api/metrics_gcp#gcp-logging).