Torch Log Service
Parameters | Description |
Delivery target | Select Deliver to another account. |
IAM Role (TRN) | Enter the TRN for a custom role to grant permission for the shipping task to assume this role and deliver data across accounts to the TOS Bucket. This custom role must have permission to deliver data. For instructions on creating a role and granting permissions, see Configure cross-account delivery permissions. |
Parameters | Description |
Configuration name | Name of the log shipping configuration. |
Source project | Select the project where the data source is located from the dropdown list. |
Source topic | Select the topic where the data source is located from the dropdown list. |
Parameters | Description |
Target bucket | Select a TOS bucket, which must be in the same region as the source topic. If you do not have a suitable bucket, you can follow the prompts on the page to create a new one. |
Shipping directory | The top-level directory name of the bucket. All log data shipped according to this configuration will be shipped to this directory. |
Shard format | Subdirectory naming format in the bucket. TLS dynamically generates subdirectories in the specified shipping directory based on the creation time of the shipping configuration. |
Shard format values | Corresponding TOS bucket directory structure (using 2022/06/30/14/00 as an example) |
%Y/%m/%d/%H/%M (default value) | tos://bucket-name/top-level-directory-name/2022/06/30/14/00/ |
%Y%m%d%H | tos://bucket-name/top-level-directory-name/2022063014/ |
%Y%m%d | tos://bucket-name/top-level-directory-name/20220630/ |
ds=%Y%m%d/%H | tos://bucket-name/top-level-directory-name/ds=20220630/14/ |
year=%Y/mon=%m/day=%d/log_%H%M | tos://bucket-name/top-level-directory-name/year=2022/mon=06/day=30/log_1400/ |
Parameters | Description |
Set the shard based on the value | Defines the naming format for subdirectories in the bucket. This directory will appear as either the parent or child of the time shard subdirectory. Disabled by default. After enabling, select the level for this directory and set the corresponding key and value regular expressions.
Notice
|
Parameters | Description |
Compression type | Log data can be compressed using a specified compression format before being shipped to object storage TOS. This can help to save read traffic costs. Supports uncompressed, snappy, gzip, and lz4. |
Shipping format | The format in which data is stored after being shipped to TOS. This topic uses the Parquet format as an example. After successful shipping, the Parquet file header contains all shipping fields. |
Shipping fields | When shipping in Parquet format, you can select the fields to be delivered. |
Parameters | Description |
Delivered file size | The original file size to be delivered for each shard, which means the uncompressed log file size. The unit is MiB, and the value range is 5–256. |
Time interval of log shipping | The interval between log shipping actions. The unit is seconds. The value ranges from 60 to 900. |
Shipping time range | Deliver log data within the specified time range.
Notice Once the delivery configuration is created, the delivery time range can not be modified. |