Desktop Log Stream Management
Scenarios
Workspace interconnects with LTS to obtain timely log stream information about the desktop operations performed by terminal users.
Interconnecting with LTS
Once configured, there is a delay of approximately 10 minutes before the changes are applied.
- Log in to the console.
- In the navigation pane, choose Security Audit > User Operation Records to go to the User Operation Records page.
- Click the button for interconnecting with LTS.
- On the page displayed, select User operation logs.
- Select a log group from the Log Group drop-down list.
Create a log group:
- Click Create Log Group to go to the Create Log Group and Log Stream page.
- Enter the log group name:
- Enter 1 to 64 characters in letters, digits, underscores (_), hyphens (-), and periods (.). Do not start with a period or underscore, or end with a period.
- Collected logs will be sent to a log stream in the log group. If the volume of logs is too large, organize them into separate groups by log type and assign each group a clear, identifiable name.
- Enter the log stream name. Enter 1 to 64 characters in letters, digits, underscores (_), hyphens (-), and periods (.). Do not start with a period or underscore, or end with a period.
- Specify the log retention period, that is, how many days the logs will be stored in LTS after being reported to LTS. By default, logs are stored for 30 days. The retention period ranges from 1 to 365 days.
LTS periodically deletes logs based on the configured log retention period. For example, if you set the retention period to 30 days, LTS retains the reported logs for 30 days and then deletes them.
- Logs are stored for 30 days by default. The retention period ranges from 1 to 365 days. Logs older than the specified retention period will be automatically deleted. You can also dump logs to OBS buckets for long-term storage.
- Creating log groups is free of charge, but you will be billed based on the amount of logs stored. For details, see Price Calculator.
- Click OK.
- Select a log stream from the Log Stream drop-down list.
Create a log stream:
- Click Create Log Stream to go to the Create Log Stream page.
- Log group name: This parameter is set by default after the log group is created in 5.
- Log stream name: Enter 1 to 64 characters in letters, digits, underscores (_), hyphens (-), and periods (.). Do not start with a period or underscore, or end with a period.
- Log retention period: Specify the log retention period, that is, how many days the logs will be stored in LTS after being reported to LTS. By default, logs are stored for 30 days. The retention period ranges from 1 to 365 days.
LTS periodically deletes logs based on the configured log retention period. For example, if you set the retention period to 30 days, LTS retains the reported logs for 30 days and then deletes them.
- Logs are stored for 30 days by default. The retention period ranges from 1 to 365 days. Logs older than the specified retention period will be automatically deleted. You can also dump logs to OBS buckets for long-term storage.
- Creating log groups is free of charge, but you will be billed based on the amount of logs stored. For details, see Price Calculator.
- Click OK.
- Click OK.
Viewing LTS Logs
View the log stream of the interconnected log group.
- On the User Operation Records page, click Viewing LTS Logs to go to the LTS log stream page.
- View logs on the LTS console. For details, see Log Search and Analysis.
Canceling Interconnection with LTS
- Click the button for interconnecting with LTS.
- On the page displayed, deselect User operation logs under Log Types.
- Click OK.
After the interconnection with LTS is canceled, logs generated by subsequent operation events will not be uploaded to LTS.
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