All Products
Search
Document Center

Simple Log Service:Reindex data

Last Updated:Mar 25, 2026

The reindex feature lets you configure or modify indexes for historical data. It reindexes data in a Logstore within a specified time range based on the latest indexing rules. This topic describes how to reindex data in the Simple Log Service console.

Prerequisites

The indexing feature is enabled. For more information, see Create indexes.

Limits

  • You can reindex only the data that is generated within 15 minutes to 30 days earlier than the current time.

  • You can create up to 10 reindexing tasks.

  • Only one reindexing task can run at a time.

Billing

  • If the Logstore uses the pay-by-ingested-data billing mode, reindexing is free. For more information, see Pay-by-ingested-data.

  • If the Logstore uses the pay-by-feature billing mode, reindexing incurs an index traffic fee (charged once) and a storage fee (charged hourly). The pricing is the same as that for regular indexing. For more information, see Billable items of the pay-by-feature mode.

  • After you delete a reindexing task, the new indexes are also deleted. You are no longer charged for storing the indexes.

Procedure

  1. Log on to the Simple Log Service console.

  2. In the Projects section, click the one you want.

    image

  3. On the Log Storage > Logstores tab, click the logstore you want.

    image

  4. Choose Index Attributes > Recreate.

    重建索引

  5. In the Reindex panel, click Create Task.

  6. Configure the Task Name, Start At, and End Time parameters based on your business requirements. Then, click OK.

    The Start At and End Time parameters specify the time range of data to reindex. The time values specify when Simple Log Service receives the data. The start time and end time must be within 15 minutes to 30 days earlier than the current time.

    After you create the task, you can view the reindexing progress. When the progress reaches 100%, the reindexing task is complete. If the progress is always 0%, click Refresh in the upper-right corner of the Reindex panel.

    Important

    If historical data already has indexes, the new indexes overwrite the original indexes.

What to do next

After you create a reindexing task, you can perform the following operations:

  • Stop the reindexing task.

    In the Reindex panel, click Stop to stop the reindexing task.

    Warning

    After you stop a reindexing task, you can delete the task but cannot start it again. Proceed with caution.

  • Delete the reindexing task.

    In the Reindex panel, click Delete to delete the reindexing task.

    Warning

    After you delete a reindexing task, the new indexes are also deleted. Proceed with caution.