Torch Log Service
Name | Type | Required | Example | Description |
Name | Type | Required | Example | Description |
TopicId | String | True | 4a****** | The ID of the topic. |
ContextFlow | String | True | e61050c-f7b3a4bf-2 | Specify the ID of the LogGroup where the log is located. You can get this ID from the Logs in the return information of the SearchLogs interface. |
PackageOffset | Long | True | 66 | Specify the log sequence number in the LogGroup. You can obtain this sequence number from the Logs in the return information of the SearchLogs interface. |
Source | String | True | 127...** | The IP Address of the source host for the logs. |
PrevLogs | Integer | False | 10 | Specify the number of preceding log entries, that is, how many log entries to view backward. The value range is 1 to 1000, and the default value is 10. |
NextLogs | Integer | False | 10 | Specify the number of following log entries, that is, how many log entries to view later. The value range is 1 to 1000, and the default value is 10. |
Name | Type | Example | Description |
Name | Type | Example | Description |
LogContextInfos | Array of JSON Map | / | Specify the context log information of the designated log. Arrange in the order of context. When no context log can be queried based on the specified start log, this parameter is empty. Among them, LogContextInfos displays the content of each log in the form of key-value pairs, and each log also contains the following two fields:
|
PrevOver | Boolean | true | Whether there is any other information besides the logs within LogContextInfos.
|
NextOver | Boolean | true | Whether there is any other next information besides the logs within LogContextInfos.
|