A log group is the basic unit for LTS to manage logs. It classifies and consists of log streams, but does not store any log data itself. Up to 100 log groups can be created for each account.
A log group usually corresponds to a project or business in a company. You are advised to sort log streams of various applications or services within a project or business to the same log group. In this way, project staff only need to monitor log streams in the log group corresponding to their project, without being distracted by log streams of other projects.
LTS allows you to add tags to log groups to help O&M personnel manage services.
You have obtained an account and its password for logging in to the LTS console.
Parameter | Description |
|---|---|
Log Group Name | A log group is the basic unit for LTS to manage logs. It is used to classify log streams. If there are too many logs to collect, separate logs into different log groups based on log types, and name log groups in an easily identifiable way. LTS automatically generates a default log group name. You are advised to customize one based on your service. You can also change it after the log group is created. The naming rules are as follows:
|
Enterprise Project Name | Enterprise projects allow you to manage cloud resources and users by project. By default, the default enterprise project is used. You are advised to select an enterprise project that fits your service needs. To see all available options, click View Enterprise Projects. |
Log Retention (Days) | Specify the log retention period for the log group, that is, how many days the logs will be stored in LTS after being reported to LTS. By default, logs are retained for 30 days. You can set the retention period to one to 365 days. |
Tag | Tag the log group as required. Click Add Tags and enter a tag key and value. If you enable Apply to Log Stream, the tag will be applied to all log streams in the log group. To add more tags, repeat this step. A maximum of 20 tags can be added. Tag key restrictions:
Tag value restrictions:
Deleting a tag: Click Delete in the Operation column of the tag. WARNING: Deleted tags cannot be recovered. If a tag is used by a transfer task, you need to modify the task configuration after deleting the tag. |
Remark | Enter remarks. The value contains up to 1,024 characters. |
After a log group is created, you can modify its settings, such as the group name, log retention duration, or tags as follows:
Figure 1 Modifying a log group

You can delete a log group that is no longer needed. Deleting a log group will also delete the log streams and log data in the log group.
If you want to delete a log group that is associated with a log transfer task, delete the task first.
Deleting a log group may lead to exceptions in related log tasks. In addition, deleted log groups cannot be restored.
You can search for log groups using the following filter criteria:
Figure 2 Searching log groups/streams

next to the search box.