Create a DSP connection to send data to Google Cloud Storage
To send data from a data pipeline in the to a Google Cloud Storage bucket, you must first create a connection using the Google Cloud Storage Connector. You can then use the connection in the Send to Google Cloud Storage sink function to send data from your pipeline to your Cloud Storage bucket.
Before you can create the Google Cloud Storage connection, you must have the following:
- A Google Cloud service account that has the
- A JSON file containing the credentials of your Google Cloud service account.
If you don't have the required permission or the credentials file, ask your Google Cloud Platform administrator for assistance. For information about managing permissions and roles, search for "Identity and Access Management" in the Google Cloud storage documentation. For information about creating the credentials file, search for "Creating service account keys" in the Google Cloud Identity and Access Management (IAM) documentation.
- In DSP, select the Connections page.
- On the Connections page, click Create Connection.
- On the Sink tab, select Google Cloud Storage Connector and then click Next.
- Complete the following fields:
Field Description Connection Name A unique name for your Google Cloud Storage connection. Description (Optional) A description of your connection. Service Account Credentials JSON The JSON file containing the credentials of your Google Cloud service account.
Any credentials that you upload are transmitted securely by HTTPS, encrypted, and securely stored in a secrets manager.
- Click Save.
If you're editing a connection that's being used by an active pipeline, you must reactivate that pipeline after making your changes. When you reactivate a pipeline, you must select where you want to resume data ingestion. See Using activation checkpoints to activate your pipeline in the Use the Data Stream Processor manual for more information.
You can now use your connection in a Google Cloud Storage sink function at the end of your data pipeline to send data to a Cloud Storage bucket. For instructions on how to build a data pipeline, see the Building a pipeline chapter in the Use the Data Stream Processor manual. For information about the sink function, see Send data to Google Cloud Storage in the Function Reference manual.
Connecting Google Cloud Storage to your DSP pipeline as a data destination
Connecting Microsoft 365 to your DSP pipeline
This documentation applies to the following versions of Splunk® Data Stream Processor: 1.3.0, 1.3.1