- Documentation
Torch Log Service
FAQs
Scheduled SQL tasks FAQ
How to trace the data written by scheduled SQL tasks
Scheduled SQL tasks FAQ
How to trace the data written by scheduled SQL tasks
How to trace the data written by scheduled SQL tasks
You can view the original log data and related information for the log topic using the following methods.
- After creating a scheduled SQL analysis task, TLS automatically adds reserved fields to each piece of data every time data is written, such as __process_id__ and __task_id__. You can use these fields to determine the scheduled SQL analysis task ID and instance ID corresponding to the data.
- Find the instance in the scheduled SQL task list based on the task ID and instance ID. TLS retains instance operation data for seven days.
- View the SQL time window, query and analysis statement, and execution information corresponding to the data. You can use this information to determine the data range and other details in the source log topic. You can also use service log query and analysis to view detailed operation information for the specified instance, which helps with data tracing and issue resolution.
Last updated: 2026.06.25 17:47:42