Torch Log Service
Name | Type | Required | Example | Description |
Name | Type | Required | Example | Description |
EndTime | Long | True | 1630454400000 | The end time of the query, accurate to the millisecond. It's in Unix timestamp format, representing the number of milliseconds calculated from January 1, 1970, 00:00:00 UTC. If specified at the second level, the server will automatically convert the precision to milliseconds. |
Interval | Long | False | 4733280000 | The length of the sub-interval in the histogram. The unit is milliseconds. This value must be greater than 1. After specifying the time range of the query, you can also specify the duration represented by each sub-interval in the histogram through Interval. By default, the histogram is displayed through 60 sub-intervals, that is, by default, Interval = (EndTime-StartTime)/60, and it is rounded up. tip Up to 60 sub-intervals can be specified in the histogram, please plan the time range of the query and the size of the sub-interval reasonably. |
Query | String | True | error | The query statements. The maximum length of the statement is 4 KiB. |
StartTime | Long | True | 1346457600000 | The start time of the query, accurate to the millisecond. It is in Unix timestamp format, representing the number of milliseconds calculated from January 1, 1970, 00:00:00 UTC. If specified at the second level, the server will automatically convert the precision to milliseconds. |
TopicId | String | True | 4a9bd4bd-53f1-43ff-b88a-64ee1be5**** | The ID of the topic. |
Name | Type | Example | Description |
Name | Type | Example | Description |
Histogram | / | The result set of all sub-intervals. | |
ResultStatus | String | complete | The status of the query.
|
TotalCount | Integer | 1000 | The total number of histogram data for this request, that is, the number of logs that meet the conditions within the corresponding time. |
Name | Type | Example | Description |
Name | Type | Example | Description |
Count | Long | 1000 | Number of search results corresponding to the sub-interval, i.e., the count of log entries that meet the criteria during the period. |
EndTime | Long | 1630454400000 | The end time of the query. |
StartTime | Long | 1346457600000 | The start time of the query. |
ResultStatus | String | complete | The status of the query.
|