Data Forwarding to Alibaba Cloud OSS¶
Configuration¶
- Select Alibaba Cloud OSS as the archive type, which means saving the matched log data to this object storage.
- Choose the access type.
- Click Confirm to successfully create it.
Note
If there are changes in the archive type information, ensure that the configurations on the associated platform are 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¶
-
You need to use the external ID generated by default by TrueWatch to configure role authorization.
-
After configuring the authorization role in the Alibaba Cloud console, fill in the archive information, including the Alibaba Cloud account ID, OSS role name, region, and Bucket name.
-
Enter the storage path to facilitate further differentiation and locating the specific position of data forwarding.
-
Click Test Connection. If the above information meets the specifications, it will prompt a successful connection test. 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 bucket exists;
- Whether the Region is inconsistent.
When this situation occurs, proceed with caution:
-
If you click to regenerate the external ID, the historical ID will expire after 24 hours. Please replace it in the Alibaba Cloud console as soon as possible;
-
Do not click to generate the external ID multiple times. Proceed with caution!
Access Keys¶
-
You need to configure the TrueWatch RAM policy in Alibaba Cloud. After configuration, fill in the account information, including the Alibaba Cloud AK & SK, region, and Bucket name.
-
Enter the storage path to facilitate further differentiation and locating the specific position of data forwarding.
-
Click Test Connection. If the above information meets the specifications, it will prompt a successful connection test. 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 exists;
- Whether the bucket exists;
- Whether the Region is inconsistent.
Account Authorization¶
-
Alibaba Cloud provides cross-account authorization capabilities. You need to use the TrueWatch exclusive account ID and follow the configuration instructions to add cross-account access authorization policies.
-
After configuration, select the region and enter the bucket name.
-
Enter the storage path to facilitate further differentiation and locating the specific position of data forwarding.
-
Click Test Connection. If the above information meets the specifications, it will prompt a successful connection test. Click Confirm to save the current rule.
If the test fails:
You need to confirm:
- Whether the account ID is correct;
- Whether the bucket exists;
- Whether the Region is inconsistent.
About International Sites: The account ID for international sites is different from that of the China region. Please distinguish them:
Site | ID |
---|---|
Hong Kong, China | 1702505505232494 |
Oregon | 218475797167922022 |
Singapore | 218475797167922022 |
Frankfurt | 218475797167922022 |
Folder Naming Standard¶
- Create a single folder or multi-level folders. A slash (/) indicates the creation of multi-level folders.
- The folder name cannot start or end with a slash (/).
- It cannot contain two or more adjacent slashes (/).
- Applicable to all access types.
Note
- If the entered folder does not exist, the system will create it directly, and the data will still be stored in that path.
- Be cautious when changing the storage path. Due to a delay of about 5 minutes in updating the configuration, some data may still be forwarded to the original directory after the change.