Help Center/
FunctionGraph/
Best Practices/
Filtering Logs in Real Time by Using FunctionGraph and LTS/
Introduction
Updated on 2023-09-11 GMT+08:00
Introduction
This chapter elaborates the following aspects of the practice:
- Scenario and benefits
- Preparation
- Building a program
- Event source
- Processing results
- Extended applications
Scenario
Quickly collect, process, and convert task logs of servers, such as ECSs, through Log Tank Service (LTS).
Obtain log data using an LTS trigger created on FunctionGraph, analyze and process key information in the logs by using a customized function, and then transfer the filtered logs to another log stream. Figure 1 shows this process.
Benefits
- Quickly collect and convert logs with LTS.
- Process and analyze data by using the event triggering and auto scaling features of serverless function computing. No O&M is involved, and resources are pay-per-use.
- Transfer filtered logs to another log stream. The original log stream is automatically deleted at the expiration time you set, reducing log storage costs.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot