This topic describes the resources that you must create before you can use Simple Log Service to collect, transform, query, analyze, visualize, consume, or ship data or configure alert rules for data.
Create an Alibaba Cloud account and complete real-name verification.
For more information, visit the Sign up to Alibaba Cloud page.
Activate Simple Log Service.
Log on to the Log Service console.
Activate Simple Log Service as prompted.
NoteWhen you activate Simple Log Service, a service-linked role named AliyunServiceRoleForSLSAlert is automatically created. For more information, see Manage the AliyunServiceRoleForSLSAudit service-linked role.
Before you call API operations, use SDKs, or use the command-line interface (CLI) to manage resources in Simple Log Service, you must create an AccessKey pair.
For more information, see Obtain an AccessKey pair.
If you want to manage Simple Log Service resources as a RAM user, you must create the RAM user and grant the required permissions to the RAM user.
For more information, see Create a RAM user and authorize the RAM user to access Simple Log Service.
Create a Simple Log Service project.
For more information, see Create a project.
Create a store.
If you want to store log data, you must create a Logstore.
For more information, see Create a Logstore.
If you want to store time series data, you must create a Metricstore.
For more information, see Create a Metricstore.
Optional. Manage shards.
For more information, see Manage shards.