Parameter | Type | Example value | Description |
Tasks | [{"TaskId":"2de5d435-0480-4139-9c79-b4241e88****","TaskName":"test2","Description":"Test","SourceProjectID":"abd6b3a7-c730-4527-8d5f-e527b381****","SourceProjectName":"projectName","SourceTopicID":"c5c6b3a7-c730-4527-8d5f-e527b381****","SourceTopicName":"sourceTopicName","DestRegion":"cn-shanghai","DestProjectID":"c4737fdd-0c72-4c1f-b35e-3ae4a02d****","DestTopicID":"66b42cb6-3436-44ae-97bf-efab3043****","DestTopicName":"destTopicName","Status":1,"ProcessStartTime":1689042649,"RequestCycle":{"Type":"Period","Time":1},"ProcessTimeWindow":"@m-m,@m","CreateTimeStamp":1689042649,"ModifyTimeStamp":1689042649,"Query":"","ProcessSqlDelay":0}] | Scheduled SQL analysis task list. | |
Total | Integer | 1 | Total number of returned tasks. |
Parameter | Type | Example value | Description |
Query | String | * | select count(*) | SQL query and analysis statement executed periodically by the scheduled SQL analysis task. |
Status | Integer | 0 | Whether to start the scheduled SQL analysis task immediately after configuring the task.
|
TaskId | String | 2de5d435-0480-4139-9c79-b4241e88**** | Scheduled SQL analysis task ID. |
TaskName | String | task-name | Name of the scheduled SQL analysis task. |
DestRegion | String | cn-shanghai | The region where the target project is located. |
Description | String | This is a test ins. | A brief description of the scheduled SQL analysis task. |
DestTopicID | String | d49a16d3-8711-445d-82a2-ab1689f4**** | Target log topic ID for storing scheduled SQL analysis results. |
RequestCycle | {"Type":"Period","Time":1} | Scheduling cycle for periodic SQL analysis tasks.
| |
DestProjectID | String | c253c122-aa35-42bd-9a9e-30f47c95**** | The project ID associated with the target log topic. |
DestTopicName | String | dest-topic-name | Target log topic name for storing schedule SQL analysis results. |
ProcessEndTime | Integer | 1702118732 | Set the end time for scheduling the schedule SQL analysis task The format uses a second-level timestamp |
CreateTimeStamp | Integer | 1702032332 | Creation time of the scheduled SQL analysis task. |
ModifyTimeStamp | Integer | 1702032332 | Last modified time of the scheduled SQL analysis task. |
ProcessSqlDelay | Integer | 0 | Delay time for each schedule, in seconds. |
SourceProjectID | String | d49a16d3-8711-445d-82a2-ab1689f4**** | ID of the project that contains the source log topic. |
SourceTopicName | String | topicName | Name of the source log topic containing the original logs for scheduled SQL analysis. |
ProcessStartTime | Integer | 1702032332 | Specifies the start time for scheduling SQL tasks. This is when the first instance is triggered. Use a second-level timestamp format. |
ProcessTimeWindow | String | @m-m,@m | SQL time window. |
SourceProjectName | String | d49a16d3-8711-445d-82a2-ab1689f4**** | Name of the project that contains the source log topic. |
SourceTopicID | String | 66b42cb6-3436-44ae-97bf-efab3043** | Source log topic ID for the original logs used in scheduled SQL analysis |
Parameter | Type | Example value | Description |
Time | Integer | 10 | The interval for scheduling or the time when periodic tasks execute (minutes from 00:00), ranging from 1 to 1440, measured in minutes. |
Type | String | Period | Scheduling cycle type. Optional values:
|
CronTab | String | 0 18 * * * | Cron expression: TLS uses Cron expressions to schedule alert tasks. The minimum granularity of Cron expressions is one minute, using the 24-hour format. For example, 0 18 * * * means the alert task runs every day at 18:00. |
CronTimeZone | String | GMT+0800 | When Type is set to Cron, you must also specify the time zone. For a list of common time zones, see Select Time Zone. |