Skip to content

Forward Data to Alibaba Cloud OSS


  1. Complete the rule name and filter condition settings.
  2. Continue configuring the backup.

Configure

  1. Select Alibaba Cloud OSS as the backup type, which means saving the matched data to this object storage.
  2. Select the storage format.
  3. Choose whether to encrypt storage.
  4. Select the access type.
  5. Click "OK" to create successfully.
Note

If the backup type information changes, you need to confirm that the configuration of the associated platform has been updated accordingly to avoid data write failures due to configuration changes. The new configuration rule will take effect within 5 minutes.

Access Type

Role Authorization

  1. You need to use the external ID generated by default by TrueWatch to configure role authorization.

  2. After configuring the authorization role in the Alibaba Cloud console, fill in the backup information, including the Alibaba Cloud account ID, OSS role name, region, and Bucket name.

  3. Enter the storage path to facilitate further differentiation and locating the specific location of data forwarding.

  4. Click "Test Connection". If the above information meets the specifications, a successful connection test prompt will appear. Click OK to save the current rule.

If the test fails:

You need to confirm:

  • Whether the authorization was successful
  • Whether the account ID is correct
  • Whether the storage bucket exists
  • Whether the Region is inconsistent

When this situation occurs, operate with caution:

  • If you click to regenerate the external ID, the historical ID will become invalid after 24 hours. Please go to the Alibaba Cloud console to replace it as soon as possible.

  • Do not click to generate the external ID multiple times. Please operate with caution!

Access Keys

  1. You need to configure the TrueWatch RAM policy in Alibaba Cloud. After configuration is complete, fill in the account information, input the Alibaba Cloud AK & SK, region, and Bucket name.

  2. Enter the storage path to facilitate further differentiation and locating the specific location of data forwarding.

  3. Click "Test Connection". If the above information meets the specifications, a successful connection test prompt will appear. Click OK to save the current rule.

If the test fails:

You need to confirm:

  • Whether the account ID is correct
  • Whether the AK / SK exists
  • Whether the storage bucket exists
  • Whether the Region is inconsistent

Account Authorization

  1. Alibaba Cloud provides cross-account authorization capability. You need to use the dedicated account ID provided by TrueWatch and add a cross-account access authorization policy according to the configuration instructions.

  2. After configuration is complete, select the region and input the storage bucket name.

  3. Enter the storage path to facilitate further differentiation and locating the specific location of data forwarding.

  4. Click "Test Connection". If the above information meets the specifications, a successful connection test prompt will appear. Click OK to save the current rule.

If the test fails:

You need to confirm:

  • Whether the account ID is correct
  • Whether the storage bucket exists
  • Whether the Region is inconsistent

Storage Path Naming Convention

  1. Create a single folder or multi-level folders. A slash (/) indicates creating multi-level folders.
  2. Folder names cannot start or end with a slash (/).
  3. Cannot contain more than two consecutive slashes (/).
  4. Applicable to all access types.
Note
  • If the filled folder does not exist, the system will create it directly, and data will still be saved to that path.
  • Please change the storage path with caution. Due to a delay of about 5 minutes for configuration updates, some data may still be forwarded to the original directory after the change.

Next Steps

Continue configuring the data viewing permissions under the current forwarding rule.