Alibaba Log Service deployment for ECS
Explore the power of Alibaba Log Service deployment for ECS – your gateway to efficient log management, real-time analytics, and streamlined operations. Stay ahead of the curve with our expert insights and step-by-step guides.
ALIBABA CLOUD


Log Service is a cloud-native observation and analysis platform that provides large-scale, low-cost, and real-time services to process multiple types of data such as logs, metrics, and traces. Log Service allows you to collect, transform, query, analyze, visualize, ship, and consume data. Log Service helps enterprises improve their digital capabilities in terms of R&D, O&M, and data security.


Steps to collect logs from ECS
Part 1: Create Project in Log Service for ECS
Log on to the Log Service console.
In the Projects section, click Create Project.
In the Create Project panel, configure the parameters and click OK. The following table describes the parameters.






Part 2: Install Logtail on ECS
A. Automation — Install using Machine Groups
Click on Alibaba accordion and select Log Service




2. Scroll down to Projects and click on ecs-project-log-service
3. Click on Time Series Storage
4. Click on the + sign on Logtail Configuration


5. Choose Host Monitoring Data


6. Create log metricstore


7. Click next after selection


8. At the Application page, select “Manual Select” under ECS instances and select the instances you wish to install the agents. And click on “Execute Now” button.


9. Execution will display status; this process will not reboot the server.


10. Once completed, click on “Return to Overview” We are no completing the install for this application. We only needed the interface to Execute Logtail installation.


11. If automated installation failed, then need to install manual
B. Manual — Install Logtail on a Linux server
Execute below command on ECS
Alibaba Cloud internal network
wget http://logtail-release-ap-southeast-1.oss-ap-southeast-1-internal.aliyuncs.com/linux64/logtail.sh -O logtail.sh; chmod 755 logtail.sh;
./logtail.sh install ap-southeast-1
Uninstall Logtail
wget http://logtail-release-ap-southeast-1.oss-ap-southeast-1.aliyuncs.com/linux64/logtail.sh -O logtail.sh;chmod 755 logtail.sh;
./logtail.sh uninstall
C. Manual — Install Logtail on a Windows server
Download the installation package. Logtail installation package
Decompress the logtail_installer.zip package to the current directory.
Run below command
Alibaba Cloud internal network
.logtail_installer.exe install ap-southeast-1
Uninstall Logtail
.logtail_installer.exe uninstall
Reference:
https://www.alibabacloud.com/help/en/log-service/latest/manage-a-project
https://www.alibabacloud.com/help/en/log-service/latest/install-logtail-on-a-linux-server
https://www.alibabacloud.com/help/en/log-service/latest/install-logtail-on-a-windows-server