- Documentation
Torch Log Service
FAQs
API and SDK FAQ
API and SDK FAQ
What is the difference between the SearchLogs and SearchLogsV2 interfaces in the SDK?
The log service retrieval function backend is upgraded. In the SDK, the upgraded retrieval capability can only be used through the SearchLogsV2 interface. In contrast to the SearchLogs interface, the X-Tls-Apiversion in the SearchLogsV2 request header is fixed to 0.3.0, and new SQL functions and syntax supported after the upgrade of retrieval functions such as estimation functions can be used.
What is the difference between PutLogs and PutLogsV2 interfaces in Java SDK?
Logging service Java SDK provides a more easy-to-use PutLogsV2 interface, which is indistinguishable from PutLogs in interface parameters, but PutLogsV2 does not need to use PB format to upload logs, which is more convenient to use. It is recommended to use the PutLogsV2 interface with the latest version of the Java SDK.
How to obtain the service address of the log service?
The log service provides service endpoints for various network types and regions for accessing log items and their internal data, writing log data, and other operations. For detailed instructions, see Service address. You can refer to the following steps to view the service address of the specified log item.
- In the top navigation bar, select the region where the log service is located.
- In the left navigation bar, select Resource Management > Log Projects .
- On the Log Items page, locate the specified log item and click the project name.
- In the basic information area of the log item, view the service address of the log service.
Last updated: 2026.06.25 17:33:46