--- id: cloud-firestore title: Google Cloud Firestore sidebar_label: Google Cloud Firestore description: Learn about the Sumo Logic collection process for the Google Cloud Firestore service. slug: /help/docs/integrations/google/cloud-firestore/ canonical: https://www.sumologic.com/help/docs/integrations/google/cloud-firestore/ --- import useBaseUrl from '@docusaurus/useBaseUrl'; Google Cloud Firestore icon 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](https://cloud.google.com/firestore/docs) ## Log and metric types * [Google Cloud Metrics](https://cloud.google.com/monitoring/api/metrics_gcp) * [Platform Logs](https://docs.aws.amazon.com/appflow/latest/userguide/monitoring-cloudwatch.html) * [Audit Logs](https://docs.aws.amazon.com/appflow/latest/userguide/appflow-cloudtrail-logs.html) ## 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](/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/firestore/docs/audit-logging#audit_log_permissions). To enable logging for Google Firestore, refer to [Google documentation](https://cloud.google.com/firestore/docs/audit-logging#enabling_audit_logging). For more detail on Firestore operations being audited, refer to [audited operations](https://cloud.google.com/firestore/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=(datastore_database OR datastore_index)) ``` * Collect **Platform Logs** using the [Google Cloud Platform source](/docs/send-data/hosted-collectors/google-source/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](/docs/send-data/hosted-collectors/google-source/gcp-metrics-source/) source. Under the **Services** dropdown, select **Cloud Firestore**. For Google Firestore metrics and dimensions, refer to [Google Firestore metrics](https://cloud.google.com/monitoring/api/metrics_gcp#gcp-firestore).