GCP Storage
Most recent version: v0.0.1
Last updated
Was this helpful?
Most recent version: v0.0.1
Last updated
Was this helpful?
See the changelog of this Listener type .
Source events from a Google Cloud Storage bucket using the HTTP protocol. Select GCP Storage from the list of Listener types and click Configuration to start.
This is a Pull listener, and therefore should not be used in environments with more than one cluster.
Now you need to specify how and where to collect the data, and establish a connection with your Google account.
Enter the basic information for the new Listener.
Name*
Enter a name for the new Listener.
Description
Optionally, enter a description for the Listener.
Tags
Add tags to easily identify your Listener. Hit the Enter
key after you define each tag.
Now add the configuration to establish the connection.
Project ID*
This is a unique string with the following format my-project-123456
Go to the Google Cloud Console.
In the top left corner, click on the project drop-down next to the Google Cloud logo (where your current project name is shown).
Each project will have a Project Name and a Project ID.
You can also find it in the Settings tab on the left-hand side.
Bucket*
The name of the bucket that contains your data. Go to Buckets in the left-hand menu.
Prefix
The optional string that acts like a folder path or directory structure when organizing objects within a bucket.
Credentials File*
The Google Cloud connector uses OAuth 2.0 credentials for authentication and authorization. Create a secret containing these credentials or select one already created.
To find the Google Cloud credentials file, go to Settings>Interoperability.
Scroll down to the Service Account area.
You need to generate and download a service account key from the Google Cloud Console. You will not be able to view this key, so you must have it copied somewhere already. Otherwise, create one here and save it to paste here.
To see existing Service Accounts, go to the menu in the top left and select APIs & Services>Credentials.
Polling interval*
Enter the frequency in minutes with which to grab events, e.g. every 5 minutes.
Read files created from
Instruct the listener to ignore files created before this time. The read files created from is according to the RFC3339 date and timestamp protocol.
Click Create labels to move on to the next step and define the required Labels if needed.