Skip to main content

Google Cloud Pub Sub

Thumbnail icon

Pub/Sub is an asynchronous and scalable messaging service that decouples services producing messages from services processing those messages. 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 PubSub 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 PubSub, refer to Google documentation. For more detail on PubSub 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=(pubsub_snapshot OR pubsub_subscription OR pubsub_topic))

Configure metrics collection

  • Collect GCP Metrics using the GCP Metric source. Under the Services dropdown, select Pub/Sub. For Google PubSub metrics and dimensions, refer to Google PubSub metrics.
Legal
Privacy Statement
Terms of Use

Copyright © 2024 by Sumo Logic, Inc.