An ECS instance is an important place where user logs are generated. Logs are tightly integrated with the ECS instance so that users can easily manage log data generated on the ECS instance.
After buying ECS instances, you can synchronize them to ARMS.
Log on to the ARMS console, and in the left-side navigation pane, choose Custom Monitoring - Data Sources > ECS Log.
On the instance list page, select the target region at the top, and click Sync ECS in the upper-right corner.
NOTE: Only ECS instances in the current region can be synchronized.
If you have not authorized the synchronization, a prompt indicating that you must authorize the operation is displayed during the first synchronization. Click Authorize in the upper-right corner of the page.
NOTE: If you use an RAM sub-account, you are not allowed to authorize the synchronization. Make sure that you use the primary account for authorization.
ARMS collects ECS instance logs with the Logtail client. Therefore, you must install the client on each ECS instance.
You can check the status of a single ECS instance or multiple ECS instances in batches.
If it turns out that the agent is not installed on an ECS instance, follow the instructions of Install Agent to complete the installation.
NOTE: After the agent is installed on the ECS instance, you must return to the instance list page and perform the Check Agent operation to update the status of the current ECS instance.