Google Cloud Firestore
Firestore is a NoSQL document database built for automatic scaling, high performance, and ease of application development. 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 Firestore 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 Firestore, refer to Google documentation. For more detail on Firestore 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=(datastore_database OR datastore_index))
-
Collect Platform Logs using the Google Cloud Platform source. Firestore platform logs include logs related to Firestore database and Firestore index. Query to get these logs is same to that of Audit logs for Firestore.
Configure metrics collection​
- Collect GCP Metrics using the GCP Metric source. Under the Services dropdown, select Cloud Firestore. For Google Firestore metrics and dimensions, refer to Google Firestore metrics.