Torch Log Service
Name | Type | Required | Example | Description |
Name | Type | Required | Example | Description |
HostGroupId | String | True | 0f******** | The ID of the host group. |
HostGroupName | String | False | mgn1 | |
HostGroupType | String | False | IP | The types of the host groups. Including:
|
HostIpList | Array of String | False | ["192.168.0.1", "127.0.0.1"] | The list of the host IP addresses. Required when HostGroupType is IP. |
HostIdentifier | String | False | hostlable | The custom identifier. Required when HostGroupType is Label. |
AutoUpdate | Boolean | False | true | Whether the LogCollector installed on the host group servers has the auto-upgrade feature enabled.
tip Only LogCollector V1.0.8 and subsequent versions support automatic upgrades. |
UpdateStartTime | String | False | "00:00" | The start time of LogCollector automatic upgrade. tip
|
UpdateEndTime | String | False | "02:00" | The end time of the automatic upgrade for LogCollector. |
ServiceLogging | Boolean | False | true | Whether to enable the Logcollector service log function.
|
HTTP status code | Error code | Error message | Description |
HTTP status code | Error code | Error message | Description |
400 | InvalidArgument | Invalid argument key %s, value %s, please check argument. | The parameter is invalid. |
400 | HostIpQuotaExceed | Host Ip Quota Exceeded | Exceeded host IP limit. |
404 | HostGroupNotExist | HostGroup %s does not exist | The host group does not exist. |
409 | HostIdentifierAlreadyExist | HostIdentifier %s already exist | The identifier already exists. |
409 | HostGroupAlreadyExist | HostGroup %s already exist | The host group already exists. |
500 | InternalServerError | We encountered an unexpected server error, please try again later. | Internal server error. |