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-databilling mode, reindexing is free. For more information, see Pay-by-ingested-data. -
If the Logstore uses the
pay-by-featurebilling 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
Log on to the Simple Log Service console.
In the Projects section, click the one you want.

On the tab, click the logstore you want.

Choose .

In the Reindex panel, click Create Task.
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.
ImportantIf 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.
WarningAfter 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.
WarningAfter you delete a reindexing task, the new indexes are also deleted. Proceed with caution.