Creating Log Groups and Log Streams
Log groups and log streams are basic units for the log management of Log Tank Service (LTS). Before using LTS, create a log group and a log stream.
Prerequisites
You have registered a HUAWEI CLOUD account and completed real-name authentication.
Creating a Log Group

- On the Log Management page of the LTS management console, click Create Log Group.
- On the displayed page, enter a log group name.
After logs are collected, they are sent to log streams in the corresponding log groups. If there are a large number of logs, you can name different log groups and log streams for quick log search.
The log group name must meet the following requirements:
- Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed.
- Cannot start or end with a period.
- Consists of 1 to 64 characters.
- You can set the Log Retention Duration to a value ranging from 1 to 30 days. If you do not set this parameter, logs can be stored for 7 days by default.
The free quota for the LTS service is 500 MB per month, including log read and write, log storage, and log index. When the free quota is used up, you will be charged based on the log usage.
- Click OK.
Creating a Log Stream

- Click the name of the created log group. The log group details page is displayed.
- Click Create Log Stream.
- On the displayed page, enter a log stream name.
- Click OK.
Last Article: Introduction
Next Article: Installing the ICAgent
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.