Step 1: Creating Log Groups and Log Streams
Log groups and log streams are basic units for log management in LTS. Before using LTS, create a log group and a log stream.
Prerequisites
You have obtained the username and password for logging in to the console.
Creating a Log Group
- Log in to the LTS console. On the Log Management page, click Create Log Group.
- In the dialog box displayed, enter a log group name.
Collected logs are sent to the log streams of the corresponding log groups. If there are a large number of logs, name log groups and log streams in an easily identifiable way so that you can quickly find the logs you desire.
A log group name:
- Can contain only letters, numbers, underscores (_), hyphens (-), and periods (.). The name cannot start with a period or underscore, or end with a period.
- Can contain 1 to 64 characters.
- Set Log Retention Duration to 1 to 30 days. If this parameter is not specified, logs are retained for 7 days by default.
- Enter remarks as required.
- Click OK.
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot