Updated on 2025-07-10 GMT+08:00

Introduction

This practice shows how to use FunctionGraph and LTS to process logs and transfer messages to LTS.

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.
Figure 1 Processing workflow

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.

Extended Applications

Use FunctionGraph and LTS to periodically analyze and process log data with a timer trigger to delete redundant logs and save space and costs.