Session Manager
This topic describes how to enable the Session Manager feature in the Graphic Computing Service (GCS) console to deliver session data to Simple Log Service.
Prerequisites
Graphic Computing Service (GCS) is enabled. For more information, see Enable a service.
The path for dump files is correctly configured for your application version. For more information, see Step 3: Adapt the application.
Logs and dump files are written to the program installation path or one of its subdirectories.
Procedure
Log on to the Graphic Computing Service console.
In the navigation pane on the left, click Session Manager.
On the Session Manager page, click Authorize.
In the Authorize Use of Simple Log Service dialog box, click Confirm Authorization.
This operation is required only for the initial configuration and must be performed by an Alibaba Cloud account. After authorization is granted, Graphic Computing Service uses the AliyunServiceRoleForSLSAudit role to access Simple Log Service resources.
WarningDo not revoke the authorization or delete the AliyunServiceRoleForSLSAudit role. Otherwise, ActionTrail management events cannot be pushed to Simple Log Service.
After you complete these steps, the system creates a dedicated Project and Logstore to store session data.
What to do next
After session data from Graphic Computing Service is delivered to Simple Log Service, you can perform operations in Simple Log Service, such as query and analysis, download, data shipping, data transformation, and alert creation. For more information, see Common operations for cloud service logs.