Stream logs to Oracle Cloud

DataStream 2 supports sending logs to Oracle Cloud storage using the S3-compatible API connectivity option to store data. It uploads log data as gzip-compressed files.

For security reasons, DataStream 2 sends logs over TLS even if the endpoint’s policies allow insecure requests.

Before you begin

Before you use Oracle Cloud Storage as a destination for your stream, you need to:

  • Sign in to Oracle Cloud Storage and make sure you have created an Amazon S3-compatible compartment for the bucket. See Designing compartments for S3 compatibility in Oracle Cloud.
  • Create an Oracle Cloud bucket. See Create an Object Storage Bucket in Oracle Cloud.
  • Create an Oracle customer secret key, which consists of the access and secret key in the Identity & Security tab of your Oracle Cloud account. See Managing User Credentials in Oracle Cloud.
  • Find and save the namespace identifier assigned to your bucket in the Bucket Information tab on the Oracle Cloud bucket page.

How to

  1. In Destination, select Oracle Cloud Storage.
  2. In Display name, enter a human-readable description for the destination.
  3. In Namespace, enter the namespace associated with your Oracle Cloud account.
  4. In Bucket, enter the name of the bucket you created in Oracle Cloud to send logs to. You need to have READ and WRITE access to the bucket.
  5. In Path, enter the path to the folder where you want to store logs. You can use Dynamic time variables in folder paths.
  6. In Region, enter the code of the cloud region where your bucket resides in lowercase.
  7. In Access key, enter the access key identifier associated with your Oracle Cloud account.
  8. In Secret key, enter the secret key associated with your Oracle Cloud account.
  9. Click Validate & Save to validate the connection to the destination and save the details you provided.
    As part of this validation process, the system uses the provided access key identifier and secret to create a verification file in your Oracle Cloud bucket, with a timestamp in the filename in the Akamai_access_verification_<TimeStamp>.txt format. You can only see this file if the validation process is successful, and you have access to the bucket that you are trying to send logs to.