- Documentation
Torch Log Service
User Guide
Resource management
Host group
Create host group (IP address)
Host group
Create host group (IP address)
Create host group (IP address)
This topic describes how to create an IP address-based host group.
Prerequisites
- A server is prepared as the log source. If the server is a VolcanoEngine ECS, it must be in the same region as the project.
- If VolcanoEngine ECS is not enabled, install the latest version of LogCollector on servers before adding ECS servers to the host group in batches. For more details, see Install LogCollector (host machine).
Notice
- You can create up to 200 host groups for each region under each VolcanoEngine main account, and each host group can have up to 1,000 IP addresses.
- Currently, only Linux servers are supported.
- Servers in a host group are identified and distinguished by IP address. By default, the IP address of the first network card is used for identification. You can also specify a different IP address via the ip parameter during initialization. For more details, see Install LogCollector (host machine).
- Only LogCollector V1.0.8 and later versions support auto-upgrade. If you need to enable auto-upgrade, make sure all servers that are ready to join host group have the required version installed before you create the host group. Otherwise, LogCollectors that do not meet the version requirements can not be auto-upgraded. For LogCollector V1.0.7 and previous versions, refer to Upgrade LogCollector (host machine) for upgrade instructions.
- LogCollector does not support auto-upgrade in container scenarios. If needed, replace the image manually.
Steps
- Obtain the IP address of the host machine (configured when Volcano ECS is not enabled).
- Servers in a host group are identified by IP address. Before creating IPaddress-based host group, obtain the IP address reported by LogCollector from the host machine or container. You can view this IP address in ip field under /usr/local/logcollector/agent_info.json file.
Description
If the Logcollector version is below v2.2.0, the configuration file path is /usr/local/filebeat-7.12.0/agent_info.json. To view LogCollector version, see 2. View software version. - As shown below, log in to the specified host machine and check the ip field in the /usr/local/logcollector/agent_info.json file.
hostname:/home # cat /usr/local/logcollector/agent_info.json
"hostname": "logcollector-dnwwc",
"logcollect_version": "2.2.1",
"update_time": "2025.01.14 15:19:29"
Tip
By default, LogCollector takes the IP address of the first network card as the IP address of current host or container and reports it to the server. You can also manually specify the IP address or modify the IP address obtaining policy in LogCollector. For more details, see Set IP addresses for hosts or containers. - Select the region where log service is located from the top navigation bar.
- In the left navigation panel, select Resource management > Host Group.
- On the Host group management page, click Create host group.
- In the Create host group dialog box, enter the basic information for the host group, and then click Create.
View host group LogCollector connection status
The host machine with LogCollector installed regularly reports its heartbeat status to TLS. You can check whether LogCollector and TLS are connected properly based on the heartbeat status. After successfully creating a host group, you can view the overall heartbeat status on the host group management page.
The heartbeat status column displays the number of IP addresses and the number of servers in each status.
- Normal: The connection between LogCollector on the server and TLS is normal.
- Abnormal: Some machines in the host group are in abnormal status. To view the IP addresses of servers with heartbeat abnormalities, click the host group name.
Tip
After adding servers to the host group, the server heartbeat status will briefly show as Abnormal until LogCollector successfully reports the heartbeat status to TLS. If the server heartbeat status Exception persists for more than one minute, it is recommended to refer to How to troubleshoot host group heartbeat status Exception (host machine) step-by-step troubleshooting.
Last updated: 2026.07.29 15:02:31