Torch Log Service
Name | Type | Required | Example | Description |
HostGroupId | String | True | 6622a14b-770f-4171-a385-3b68486f**** | The ID of the host group. |
Ip | String | False | 127.0.0.1 | The IP address of the host, used as a fuzzy query. |
HeartbeatStatus | Integer | False | 1 | The status of the host heartbeat. |
PageNumber | Integer | False | 1 | The page number when paging the query. The default is 1, that is, the return starts from the first page of data. |
PageSize | Integer | False | 20 | The page size. The default is 20, with a maximum of 100. |
Name | Type | Example | Description |
Total | Integer | 2 | The total number of the hosts. |
HostInfos | / | The hosts information. |
Name | Type | Example | Description |
Ip | String | 127.0.0.1 | The IP address of the host. |
HeartbeatStatus | Integer | 1 | The status of the host heartbeat.
|
LogCollectorVersion | String | 1.0.11 | The version of LogCollector installed on the host. |
HTTP status code | Error code | Error message | Description |
400 | InvalidArgument | Invalid argument key %s, value %s, please check argument. | The parameter is invalid. |
500 | InternalServerError | We encountered an unexpected server error, please try again later. | Internal server error. |