DataService Studio provides log analysis to help you review API requests. When a request fails, its intelligent analysis feature helps you quickly find the root cause by providing a diagnosis and suggestions.
Limits
The intelligent analysis feature is available only in DataWorks Professional Edition or later. You can try this feature for free, but we recommend that you upgrade to the Professional Edition to access more product capabilities. For more information about edition upgrades, see DataWorks editions.
View the log list
-
Go to the Data Services page.
Log on to the DataWorks console. In the target region, click in the left-side navigation pane. Select a workspace from the drop-down list and click Go to DataService Studio.
-
On the Service Management tab, on the Service Management page, click API Statistics > Log Analysis to open the Log Analysis page.
-
Search for logs by request ID, Response Duration, or Time range.
NoteBy default, the 10 most recent logs are displayed if no search criteria are set.
The top of the log analysis page displays a request lifecycle diagram: client → API Gateway → DataService Studio → data source, with request/response directions marked between each node. The search area lets you filter by request ID, search content, response time (≥ a specified millisecond value from 1 to 100,000), and time range. In addition to the core parameters, the log list includes columns such as API ID/Name, App Name, Data Source Name, Request Start Time, HTTP status, and Data Status.
Parameter
Description
Request ID
A unique identifier for each API call.
Response Time (ms)
Hover over the chart to view a tooltip with the response time breakdown.
Operation
Opens the Log Analysis panel. For more information, see Intelligent log analysis.
Intelligent log analysis
-
In the Log Analysis list, find the target log and click Intelligent Analysis in the Actions column. The Log Analysis panel expands at the bottom of the page.
-
The Log Analysis panel shows the runtime status of the API request.
-
If the request is successful, each stage of the call completes without errors. You can view the time taken for each stage in the corresponding Gantt chart.
-
If a request fails, this panel helps you identify the failed stage and provides a Diagnose and Suggestions.
Click a request to expand the trace timeline at the bottom, which shows a time breakdown for each stage (Gateway, DataService Studio, and data source). You can then click Intelligent Analysis to view the detailed diagnosis.
-