Parameters | Type | Example value | Description |
Status | Integer | 2 | Status of the data backflow task. Supported values are as follows.
|
TaskId | String | d4bd-53f1-43ff-b88a-64ee1be5**** | Task ID of the data backflow task |
TaskName | String | backflow_task | Name of the data backflow task. |
CreateTime | Integer | 1630000000 | Creation time of the data backflow task, in seconds. |
ModifyTime | Integer | 1630000000 | The most recent modification time of the data backflow task, measured in seconds. |
Description | String | / | Description of the data backflow task. |
QueryParams | / | Scheduled SQL field configuration used to specify sorting, filtering criteria, and return fields for log queries. | |
RelaTasksInfo | / | Backflow task association information. | |
IamProjectName | String | default | Name of the access control project. |
BackFlowEndTime | Integer | 1735747200 | End time of the backflow task, in seconds If set to nil, the backflow remains ongoing and no specific end time is set. |
ShipperToTosInfo | / | Delivery task configuration for specifying parameters related to log delivery in log backflow tasks. If left blank, no delivery will occur. | |
BackFlowStartTime | Integer | 1735660800 | Start time of the backflow task, in seconds. |
ScheduleSqlTaskInfo | / | Configuration details for scheduled SQL tasks, including target topic information, execution cycle, timeout, and other settings. | |
LogBackFlowTaskSource | / | Data source information for the data return task. |
Parameters | Type | Example value | Description |
ShipperID | String | ffdaa6b6-3c9f-424c-8664-fc0d222c**** | Delivery task ID. |
DestRegion | String | cn-north-1 | Target Region identifier. |
ShipperName | String | backflow_shipper_*** | Task name for delivery. |
ScheduleSQLTaskId | String | ffdaa6b6-3c9f-424c-8664-fc0d222c**** | Cron SQL task ID. |
ScheduleSQLTaskName | String | backflow_sql_*** | Timer SQL task name. |
Parameters | Type | Example value | Description |
ContentInfo | / | Content format configuration for delivered logs. | |
TosShipperInfo | / | Configuration details for delivery to TOS, including bucket name, prefix directory, compression format, and other settings. |
Parameters | Type | Example value | Description |
DestRegion | String | cn-north-1 | The region where the destination topic is located. If not specified, the current region is used by default. |
MaxTimeout | Integer | 300 | The maximum timeout for a scheduled SQL task, in seconds. |
DestTopicID | String | 2a9bd4bd-53f1-43ff-b88a-64ee1be5**** | Target log topic ID for the scheduled SQL task, used to specify where the SQL query results are written. |
RequestCycle | / | Execution cycle for query or analysis requests. | |
MaxRetryTimes | Integer | 3 | The maximum number of retries when a scheduled SQL task fails to execute; the default value is 3. |
ProcessSqlDelay | Integer | 60 | Query latency of the scheduled SQL task, in seconds. |
ProcessTimeWindow | String | @m-15m,@m | Scheduling window expression, used to specify the execution time window for timed SQL tasks This expression defines the start and end times of the task using a specific format. |
Parameters | Type | Example value | Description |
SourceType | String | Topic | The data source type of the log rollback task, which specifies the source type for the rollback task. |
LogBackFlowTaskTopicSource | / | Data source configuration for the log backfill task, including the log topic ID and its project ID. |
Parameters | Type | Example value | Description |
Format | String | json | Log content parsing format.
|
CsvInfo | / | CSV format log content configuration. | |
JsonInfo | / | Configures log content in JSON/JSONL format. |
Parameters | Type | Example value | Description |
Bucket | String | mytos | Select a TOS bucket. It must be in the same region as the source log topic.
|
Prefix | String | testprefix | Top-level directory name for the bucket. All log data submitted by this delivery configuration will be sent to this directory.
|
MaxSize | Integer | 5 | The maximum size of the original file that can be delivered for each shard, which refers to the uncompressed log file size. The unit is MiB. The value range is 5–256. |
Compress | String | snappy | Compression format. Currently supports snappy, gzip, lz4, and none. |
Interval | Integer | 300 | Delivery interval in seconds. The value range is 300–900. |
PartitionFormat | String | %Y/%m/%d/%H/%M | Partitioning rule for log delivery.
|
Region | String | cn-beijing | The region where the target storage bucket is located. This parameter is not exposed in external APIs. |
Endpoint | String | https://ep-xxxx.tos.cn-beijing.privatelink.volces.com | The proxy cluster accesses the target domain name, and the external API does not expose this parameter. |
ProxyPoint | String | custom1 | Proxy cluster access point. The external API does not expose this parameter. |
Parameters | Type | Example value | Description |
Time | Integer | 10 | The schedule cycle or specific time for scheduled execution (the number of minutes from 00:00). The range is 1–1440, in minutes. |
Type | String | Period | Scheduling cycle type Optional values:
|
CronTab | String | 0 18 * * * | TLS uses a Cron expression to schedule alert tasks. The minimum granularity of a Cron expression is minutes, using 24-hour format. For example, 0 18 * * * means the alert task runs every day at 18:00. |
CronTimeZone | String | GMT+0800 | When setting Type to Cron, you also need to set the time zone. For common time zone options, see Select Time Zone. |
Parameters | Type | Example value | Description |
Keys | Array of String | ["user","log","ip"] | Configure the fields to be delivered.
|
Delimiter | String | , | Separator. Comma, tab, vertical bar, semicolon, and space are supported. |
EscapeChar | String | false | Escape character: When a field contains a separator, use an escape character to enclose the field. Currently, only single quotes, double quotes, and empty characters are supported. |
PrintHeader | Boolean | false | Whether to print the Key on the first line. |
NonFieldContent | String | test | Invalid field fill content, length 0–128. |