Updated on 2023-07-19 GMT+08:00

Basic Concepts

Log Groups

A log group is a collection of log streams and the basic unit for LTS to manage logs. You can set log retention duration for a log group.

Log groups can be created in two ways:

  • You can create log groups manually on the LTS console.
  • When other HUAWEI CLOUD services are connected with LTS, log groups and log streams are automatically created to retain the logs collected from the services.

Log Streams

A log stream is the basic unit for log reads and writes.

You can sort logs of different types, such as operation logs and access logs, into different log streams. ICAgent will package and send the collected logs to LTS on a log stream basis. It makes it easier to find specific logs when you need them.

The use of log streams greatly reduces the number of log reads and writes and improves efficiency.

ICAgent

ICAgent is the log collection tool of LTS. If you want to use LTS to collect logs from a host, you need to install ICAgent on the host. Batch ICAgent installation is supported if you want to collect logs from multiple hosts. After ICAgent installation, you can check the ICAgent status on the LTS console in real time.