Skip to content

Data Forwarding to Alibaba Cloud OSS


Start Configuration

  1. Choose the Alibaba Cloud OSS archiving type, which means that the matched log data will be saved in this object storage;
  2. Select access type;
  3. Click Confirm, and the creation will be successful.
Note

If the archiving type information changes, you need to confirm that the associated platform configuration has been updated synchronously to avoid data writing failures due to configuration changes. The new configuration rules will take effect within 5 minutes.

Access Type

Role Authorization

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

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

  3. Enter the storage path for easier distinction and location of the data forwarding position in the future.

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

If the test fails:

You need to confirm:

  • Whether the authorization is successful;
  • Whether the account ID is correct;
  • Whether the storage bucket exists;
  • Whether the regions are inconsistent.

In such cases, proceed with caution:

  • If you click to regenerate the external ID, the historical ID will expire after 24 hours, so please replace it quickly on the Alibaba Cloud console;

  • Do not repeatedly click to generate an external ID, proceed with caution!

Access Keys

  1. You need to configure Guance RAM policies in Alibaba Cloud. After completing the configuration, fill in the account information, input Alibaba Cloud AK & SK, region, and Bucket name.

  2. Enter the storage path for easier distinction and location of the data forwarding position in the future.

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

If the test fails:

You need to confirm:

  • Whether the account ID is correct;
  • Whether the AK / SK exist;
  • Whether the storage bucket exists;
  • Whether the regions are inconsistent.

Account Authorization

  1. Alibaba Cloud provides cross-account authorization capabilities. You need to use Guance's dedicated account ID and follow the configuration instructions to add cross-account access authorization policies.

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

  3. Enter the storage path for easier distinction and location of the data forwarding position in the future.

  4. Click Test Connection. If the above information meets the specifications, it will prompt a successful test connection. Click confirm 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 regions are inconsistent.

Regarding overseas sites: The account ID for overseas sites differs from the China site, please differentiate accordingly:

Site ID
Hong Kong 1702505505232494
Oregon 218475797167922022
Singapore 218475797167922022
Frankfurt 218475797167922022

Folder Naming Standards

  1. Create single folders and multi-level folders, where a slash (/) indicates creating multi-level folders.
  2. Folder names cannot start or end with a slash (/).
  3. Cannot contain more than two adjacent slashes (/).
  4. Applies to all access types.
Note
  • If the entered folder does not exist, the system will create it directly, and data will still be stored under this path.
  • Be cautious when changing the storage path, as updating configurations may have a delay of about 5 minutes, and some data might still be forwarded to the original directory after changes.

Feedback

Is this page helpful? ×