Google Cloud Pub/Sub Integration

InsightFinder can source the data from Google Cloud Platform (GCP) pub/sub and correlate it with other data to generate anomalies and root causes. Below documentation is a walk through of how to configure GCP pub/sub and InsightFinder integration.

Project Configuration

Information needed: GCP JSON key for authentication.

Project Creation

  1. Go to “Settings”->“System Settings”. Click on “Add New Project”.
  2. Select “Google Cloud Pub/Sub” from the list and click on “Create Project” on the next page.
  3. This is where you will start configuring the project.
    1. Project Id, Private key Id, Private key, Client email, Client id, Client Cert Url – Use your gcp authentication key information here. Please Note – Private Key starts with 5 ‘-’ and ends with ‘\n’.
      (See Figure 1 and 2)
  4. You can leave everything else as is and click on “Verify” and you will be taken to the next page if verification is successful.
  5. You can type in “Instance Field” from the json format of logs, if you want to use a specific value from the stream else leave it blank and subscription id will be an instance name. Everything else can be default.
    (See Figure 3)
  6. Then on the next page, you can type in the “Project Name” and “System Name” and click on Register.
    (See Figure 4)
  7. Once a project is successfully created, you will see a message like below.
    (See Figure 5)
  8. To learn about how to create a Google Pub/Sub, go to this link.

Figures

Click on an image to expand.