Pub/Sub (Google)
  • Dark
    Light

Pub/Sub (Google)

  • Dark
    Light

Overview

This input type allows you to specify a Pub/Sub project for Edge Delta to monitor. Specifically, EdgeDelta will consume messages from Pub/Sub subscriptions.


Review Sample Configuration 

Review the following sample configuration: 

  pubsubs:
    - labels: "google_pubsub_with_key"
      project_id: "projectID1"
      sub_id: "subID1"
      key: "{\"pubsub_key\": \"key_123\"}"
    - labels: "google_pubsub_with_key_path"
      project_id: "projectID2"
      sub_id: "subID2"
      key_path: "pubsub_key_path"

Review Parameters

Review the following parameters that you can configure in the Edge Delta App. 


labels

Required

Enter a descriptive name for this input. 

When you create a workflow, you will use this label to enter your input into the workflow. 

Review the following example: 

labels: "google_pubsub_with_key"

project_id

Required

Enter the project ID of the corresponding topic / subscription.

Review the following example: 

project_id: "projectID1"

sub_id

Required

Enter the subscription ID.

Review the following example: 

sub_id: "subID1"

key

Optional 

Enter your key so that the agent can authenticate calls to Pub/Sub

If you do not enter a key, then you must enter a Path To Key File

Review the following example: 

key: "{\"pubsub_key\": \"key_123\"}"

key_path

Optional 

Enter a path so that the agent can authenticate calls to Pub/Sub

If you do not enter a path, then you must enter a Service Account Key

Review the following example: 

key_path: "pubsub_key_path"

filters

Optional

Enter an existing filter to add to this input. 

To learn how to create a filter, see Filters.

Review the following example: 

filters:
  - info



Example Implementation: GCP to Hosted Agent

You can configure log collection of native services in Google Cloud Platform such as a Global Load Balancer and publish them using a Datadog local agent to Pub/Sub. This endpoint can be consumed by Edge Delta using, for example, a hosted agent. 


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.