Google Cloud Logging
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.
Log and metric types
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. These Audit Logs can be accessed based on the permissions and roles. To enable logging for Google Logging, refer to the Google documentation. For more details on log operations auditing, refer to 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:
(resource.type=(logging_bucket OR logging_exclusion OR logging_log OR logging_sink ))
Configure metrics collection
- Collect GCP Metrics using the GCP Metrics source. Under the Services dropdown, select Cloud Logging. For Google Logging metrics and dimensions, refer to Google Logging metrics.