You need to enable JavaScript to run this app.
Torch Log Service

Torch Log Service

Copy page
Download PDF
Data processor API
ExecProcessor
Copy page
Download PDF
ExecProcessor
Use the ExecProcessor API to debug data processor DSL rules.​
Request instructions​
  • Request method: POST​
  • Request URL: https://{tls-endpoint}/ExecProcessor​
Request parameters​
The table below lists only unique request parameters for this API and some common parameters. For more information, see common parameters.​
Body​
​
Parameters​
Type​
Required​
Example value​
Description​
DSLContent​
String​
Yes​
f_rename("path", "newpath")​
Processor DSL content.​
Defines processor-specific logic or configuration. Length must be between 1 and 4,000 characters.​
ExecAction​
String​
Yes​
debug​
Specify the action to execute. Currently, only the debug mode is supported.​
LogSample​
Object of LogSample​
Yes​
/​
Log example.​
  • It is recommended to provide at least two log entries as examples to ensure the regular expression matches the first line of each log.​
  • We suggest that you use real samples from the production environment.​
​
Response parameters​
The table below lists only the return parameters specific to this API. For more information, see Return Structure.​
​
Parameters​
Type​
Example value​
Description​
Error​
String​
/​
Error information encountered during processor DSL debugging. When ExecStatus is failed, returns a specific error description.​
ExecStatus​
String​
success​
Debug the execution status of the processor DSL. Possible values are as follows.​
  • success: Executed successfully.​
  • failed: Execution failed.​
ProcessedLog​
Array of ProcessedLog​
/​
This is a collection of log data processed by the processor DSL. Each element is an object that contains the processed log information.​
​
Sample request​
​
POST https://{tls-endpoint}/ExecProcessor HTTP/1.1​
Content-Type: application/json​
{​
"DSLContent": "f_rename("path", "newpath")",​
"ExecAction": "debug",​
"LogSample": {}​
}​
​
Sample response​
​
Content-Type: application/json; charset=utf-8​
{​
"Error": "/",​
"ExecStatus": "success",​
"ProcessedLog": []​
}​
​
Error Code​
Visit Public Error Codes to learn more about error codes.​
Last updated: 2026.05.07 11:17:19