IBM Cloud Object Storage
6.4 and later
The IBM Cloud Object Storage target writes data to IBM Cloud Object Storage. For information about supported versions, see Supported systems and versions.
When you configure the IBM Cloud Object Storage target, you specify the endpoint to connect to. In addition, you can enable the target to use SSL. You can also use a connection to configure the target.
You specify the file name, file suffix, and file type to write to, and optionally specify file and object prefixes. You also specify the table and table type to load the data into.
Before you use the IBM Cloud Object Storage target, you must complete some prerequisite tasks.
Prerequisite
About this task
Before you configure the IBM Cloud Object Storage target, complete the following prerequisite task.
Procedure
auto or true.Bucket
When you configure the bucket where records should be written, you can specify an exact bucket name or you can use an expression that evaluates to a bucket name.
For example, to write to buckets based on data in the Type field, you can use the following
expression to define the bucket: ${record:value('/Type')}.
With this expression, the target writes records to buckets based on the data in the Type field.
Troubleshooting IBM Connectivity Service
The IBM Cloud Object Storage target
connects to the database through IBM Connectivity Service. IBM Connectivity Service and all stages that use the service are bundled into
the IBM Connectivity Service stage library,
streamsets-datacollector-ibm-connectivity-service-lib. By default, Data Collector runs IBM Connectivity Service when the IBM
Connectivity Service stage library is installed.
| Call | CURL request |
|---|---|
| Get IBM Connectivity Service state |
curl --location 'https://<engine url>/rest/v1/flight/state' --header 'Authorization: Bearer <IBM Cloud API key> |
| Restart IBM Connectivity Service |
curl --location 'https://<engine url>//rest/v1/flight/restart' --header 'Authorization: Bearer <IBM Cloud API key> |
| Get IBM Connectivity Service logs |
curl --location 'https://<engine url>//rest/v1/flight/state' --header 'Authorization: Bearer <IBM Cloud API key> |
Configuring an IBM Cloud Object Storage target
About this task
Configure an IBM Cloud Object Storage target to write data to IBM Cloud Object Storage.