CLS supports log collection via LogListener for Tencent Cloud Virtual Machines (CVMs). Before log collection, you need to deploy LogListener on CVM instances. If you need to deploy LogListener on a large number of CVM instances, you can perform batch deployment in the CLS console. Batch deployment will deploy configurations including AccessKeys, IDs, and regions.
TencentCloud Automation Tools (TAT) is installed on the target CVM instances.
Log in to the CLS console.
On the left sidebar, click Overview to go to the overview page.
Choose Fast Integration > Cloud Product Logs, and click CVM.
On the batch deployment configuration page, select the target CVM instances, enter
SecretId information (
SecretId and SecretKey), and set advanced configuration items accordingly.
On the instance installation page, click Next when the installation Status changes to Completed, which indicates that the installation is completed.
If the installation fails, move the cursor over to the Status of the instance installation to view the failure causes.
On the machine group importing page, select an existing machine group or create a machine group as required, and click Import.
The version of the LogListener deployed via batch deployment is 2.6.0 or later.