All Products
Search
Document Center

Simple Log Service:Enable intelligent tiered storage

Last Updated:Apr 12, 2024

Simple Log Service provides the intelligent tiered storage feature. You can use the feature to reduce long-term storage costs without negative impacts on the query, analysis, visualization, alerting, shipping, or transformation of log data. You are charged for data storage in different tiers based on storage usage. You are not charged for data transfer.

Features

Simple Log Service provides the following storage tiers: hot storage tier, Infrequent Access (IA) storage tier, and Archive storage tier.

  • You can enable the intelligent tiered storage feature on the Logstore Attributes page of a Logstore to move data that is stored in the hot storage tier to the IA or Archive storage tier.

  • After you enable the intelligent tiered storage feature for a Logstore, you can configure the Data Retention Period parameter on the Logstore Attributes page of the Logstore to extend the retention periods of data in different storage tiers. This way, data is automatically moved across storage tiers.

Important

The configuration of the Data Retention Period parameter has limits. For more information, see Lifecycle management for data storage.

Procedure

  1. Log on to the Simple Log Service console.

  2. In the Projects section, click the project that you want to manage.

    image

  3. On the Log Storage > Logstores tab, click the Logstore icon of the Logstore for which you want to enable the intelligent tiered storage feature and click Modify.

  4. On the Logstore Attributes page, click Modify.

  5. Turn on Intelligent Tiered Storage.

    The following table describes the parameters that are required to enable the intelligent tiered storage feature. For more information about other parameters, see Create a Logstore.

    Parameter

    Description

    Data Retention Period

    Specify the retention period of data in the Logstore. For more information, see Basic resources.

    You can set the Data Retention Period parameter to Specified Days or Permanent Storage. If you set the parameter to Specified Days, you must specify a number of days based on your business requirements.

    Important

    If you shorten the data retention period, Simple Log Service deletes all expired data in about 1 hour. For example, if you change the value of the Data Retention Period parameter from 5 to 1, Simple Log Service deletes the log data of the previous four days in about 1 hour.

    Intelligent Tiered Storage

    Turn on Intelligent Tiered Storage to enable the intelligent tiered storage feature.

    Storage Policy

    Specify the retention period of data in each tier.

    Data retention period that is specified for the hot storage tier

    Specify the retention period of data in the hot storage tier of the Logstore.

    If you select Automatically Converted, data that is stored in the hot storage tier is automatically moved to the IA or Archive storage tier after the data retention period that is specified for the hot storage tier ends.

    • If you want to move data from the hot storage tier to the IA storage tier, the data retention period that is specified for the hot storage tier must be at least 7 days. Valid values: 7 to 3650. Unit: days.

    • If you want to move data from the hot storage tier to the Archive storage tier, the data retention period that is specified for the hot storage tier must be at least 30 days. Valid values: 30 to 3650. Unit: days.

    Important
    • After you change the data retention period that is specified for the hot storage tier, Simple Log Service moves data based on the new setting in about 1 hour. For example, if you change the data retention period that is specified for the hot storage tier from 30 days to 40 days, Simple Log Service starts to move some data that is stored in the IA or Archive storage tier back to the hot storage tier in about 1 hour.

    • The data retention period that is specified for the hot storage tier must be less than the value of the Data Retention Period parameter.

    Data retention period that is specified for the IA storage tier

    Specify the retention period of data in the IA storage tier of the Logstore.

    If you select Automatically Converted, data that is stored in the IA storage tier is automatically moved to the Archive storage tier after the data retention period that is specified for the IA storage tier ends.

    If you want to move data from the IA storage tier to the Archive storage tier, the data retention period that is specified for the IA storage tier must be at least 30 days. Valid values: 30 to 3650. Unit: days.

    Important
    • After you change the data retention period that is specified for the IA storage tier, Simple Log Service moves data based on the new setting in about 1 hour. For example, if you change the data retention period that is specified for the IA storage tier from 30 days to 40 days, Simple Log Service starts to move some data that is stored in the Archive storage tier back to the IA storage tier in about 1 hour.

    • The data retention period that is specified for the IA storage tier must be less than the value of the Data Retention Period parameter.

    Data retention period that is specified for the Archive storage tier

    Specify the retention period of data in the Archive storage tier of the Logstore. Data in the Archive storage tier is automatically deleted after the data retention period that is specified for the Archive storage tier ends.

    The data retention period that is specified for the Archive storage tier must be at least 60 days. Valid values: 60 to 3650. Unit: days.

    Important

    The data retention period that is specified for the Archive storage tier must be less than the value of the Data Retention Period parameter.

  6. Click Save.