Google Cloud Spanner
Cloud Spanner is a fully managed, mission-critical, relational database service that offers transactional consistency at global scale, automatic, synchronous replication for high availability, and support for two SQL dialects: GoogleSQL (ANSI 2011 with extensions) and PostgreSQL. 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 Spanner integration by following the below steps.
Configure logs collection​
- Collect Audit Logs using Google Cloud Platform source. These Audit Logs can be accessed based on the permissions and roles. To enable logging for Google Spanner, refer to Google documentation. For more detail on Spanner operations being audited, 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=spanner_instance)
Configure metrics collection​
- Collect GCP Metrics using the GCP Metric source. Under the Services dropdown, select Spanner. For Google Spanner metrics and dimensions, refer to Google Spanner metrics.