Preface
In the previous article, we gained a basic understanding of logs. From the perspective of individual users, we can already investigate what happened on our computers by checking the logs when issues arise. However, if we consider the perspective of an enterprise, and we need to manage multiple machines simultaneously, how would we plan our architecture?

示意圖
Introduction to Alibaba Cloud Log Service (SLS)
Alibaba Cloud SLS (Log Service)
Alibaba Cloud's Log Service (SLS) is a cloud-native observability platform. Its functionalities can be roughly categorized as follows:
- Data Collection
- Query and Analysis
- Visualization
- Alerting
- Data Processing
- Consumption and Delivery
- Log Audit
Introduction to Log Monitoring Solution
解決方案架構圖
The solution proposed in this article primarily relies on four key functionalities: data collection, query and analysis, visualization, and alerting. As illustrated in the architecture diagram, we have two hosts each deployed on-premises and in the cloud. On each host, we install the Alibaba Cloud SLS service agent, which facilitates the transmission of logs from the respective host to the logstore within the Alibaba Cloud SLS service, either via the internet or Alibaba Cloud's intranet.
Next, let's examine the functionalities realized by this solution!
Windows Server Log Dashboard

The primary objective of this solution is to monitor the logs of multiple Windows Server hosts. Through the native visualization charts provided by SLS, we can clearly observe the types and quantities of various event IDs. Clicking on the visualized charts allows us to filter the data as needed. Additionally, SLS offers various native visualization charts to choose from.
Alert Configuration
Alert Email Illustration
In addition to visualizing log reports, from an auditing perspective, we also want to receive notifications. For example, notifications for user creation/modification and deletion on Windows Server. We can write SQL queries in the SLS service to retrieve the event IDs corresponding to these operations from the logstore where the log data is stored, and set up alerts in the SLS service. Users can then receive the alert emails as shown in the image above.
Now that we have a basic understanding of the log solution for Windows Server hosts, besides Windows Server logs, we also have other log monitoring solutions! Let's share more about them in the future!
Solution Architecture
歐律廷 Lambert Ou