All Products
Document Center

Simple Log Service:Resource management overview

Last Updated:Jan 25, 2024

Simple Log Service allows you to manage resources such as projects and Logstores in the Simple Log Service console, by calling API operations, and by using SDKs and the command-line interface (CLI).

Before you begin

  1. Create an Alibaba Cloud account and complete real-name verification.

    For more information, visit the Sign up to Alibaba Cloud page.

  2. Activate Simple Log Service.

    1. Log on to the Simple Log Service console.

    2. Follow the on-screen instructions to activate Simple Log Service.


      When you activate Simple Log Service, a service-linked role named AliyunServiceRoleForSLSAudit is automatically created. For more information, see Manage the AliyunServiceRoleForSLSAudit service-linked role.

  3. Before you call API operations, use SDKs, or use the CLI to manage resources in Simple Log Service, you must create an AccessKey pair.

    For more information, see Obtain an AccessKey pair.

  4. 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.

Resource management

A project can contain multiple types of stores. A project is a resource management unit in Simple Log Service and provides an endpoint that you can use to access the resources in the project. You can adjust resource quotas by project.

  1. Create and manage a Simple Log Service project.

    1. Create a project in a specified region based on your business requirements. For more information, see Create a project.

    2. For information about how to manage resource quotas, see Adjust resource quotas.

  2. Create a store.

    • To store log data, you must create a Logstore. For more information, see Create a Logstore.

    • To store metric data, you must create a Metricstore. For more information, see Create a Metricstore.

    • To store event data, you must create an Eventstore. For more information, see Manage an Eventstore.

  3. If you want to modify the storage, you can manage shards. For more information, see Manage shards.

Comparison of Logstores, Metricstores, and Eventstores


Data type




General logs

Used to store application or system-generated logs, such as error logs and access logs


Manage a Logstore


Time series data that follows the data model of Prometheus

Used to store performance metrics that are commonly used in storage systems or applications, such as CPU utilization and memory usage


Manage a Metricstore


Event data that follows the CloudEvents specification

Used to store system or application-generated data about specific activities or actions, such as user clicks and transactions


Manage an Eventstore