This topic describes how to configure the ID of an Alibaba Cloud account (account ID) as a user identifier for a server.
Prerequisites
- Available server already exists.
The server from which Logtail collects logs can be an ECS instance that is purchased by another Alibaba Cloud account, or be provided by third-party cloud service vendors. The server can also be a local IDC.
- Logtail is installed on the server. For more information, see Install Logtail in Linux and Install Logtail in Windows.
Background information
Obtain the account ID
Configure an account ID for a server
Delete an account ID
- Linux:
Run the following command to delete the specific account ID file and associated account ID:
rm /etc/ilogtail/users/1**************
- Windows:
After an account ID file is deleted, the corresponding account ID of the server is deleted. For example, you can delete the C:\LogtailData\users\1************** file.
What to do next
- For more information about how to create an IP address-based machine group, see Create an IP address-based machine group.
- For more information about how to create a custom ID-based machine group, see Create a custom ID-based machine group.