Skip to main content
Skip table of contents

Configure the GCP PubSub Collector in Axon

The next step after successfully Configuring GCP PubSub in Google Cloud is to add the collector type to Axon.

Add a GCP PubSub Collector

Only Administrators can take this action.

  1. In the lower-left corner of the main screen, click the Administration cog.
    The Administration menu appears on the left side.
  2. Under Integrations, click Collectors.
    The Collectors page appears.
  3. In the upper-right corner, click + Add Collector.
    The Add Collector Wizard appears.
  4. Select GCP PubSub from the list of collector types.
    A list of Log Source Types associated with the GCP PubSub collector appears on the right.
  5. Click Configure.
  6. Enter the following information on the configuration page.
    Fields marked with an asterisk (*) are required.

    OptionDescription
    Collector Name *Enter a unique name for this collector.
    DescriptionEnter an optional detailed description for this collector.
    Collection Schedule *Enter a value and select a time interval (Minutes, Hours, Days) from the drop-list to determine how often the collector sends new requests.
    Project ID *Enter the Project ID configured during the steps outlined in Configure GCP PubSub.
    Subscription ID *Enter the Subscription ID configured during the steps outlined in Configure GCP PubSub.
    Client ID *Enter the Client ID obtained during the steps outlined in Configure GCP PubSub.
    Client Email *Enter the Client Email obtained during the steps outlined in Configure GCP PubSub.
    Private Key ID *Enter the Private Key ID obtained during the steps outlined in Configure GCP PubSub.
    Private Key *Enter the Private Key obtained during the steps outlined in Configure GCP PubSub.

    Of the four items obtained in the downloaded JSON file (Client ID, Client Email, Private Key, and Private Key ID), the collector only generates an error for an incorrect Client Email or Private Key.

    An incorrect Client ID or Private Key ID does not generate an error, although the collector will not collect any logs.

  7. Click Connect to test the collector's connection.
    If the connection is successful, the GCP PubSub collector is added to the list of collectors in Axon.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.