Log Service provides the reindexing feature that you can use to configure or modify indexes for historical data. You can reindex the logs of a specified time range for a Logstore based on the most recent indexing rules. This topic describes how to reindex logs for a Logstore in the Log Service console.
Prerequisites
Limits
- You can reindex only the logs that are generated within 15 minutes to 30 days earlier than the current time.
- You can create a maximum of 10 reindexing tasks.
- You can run only one reindexing task at a time.
Billing
- Additional indexing fees and storage fees are generated when you reindex logs. Indexing fees are generated only once and storage fees are generated on an hourly basis. The unit price of a reindex is the same as the unit price of an index. For more information, see Billable items.
- After you delete a reindexing task, the new index data is also deleted, you are no longer charged storage fees for the deleted index data.
Procedure
Related operations
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.Important After you stop the reindexing task, you can delete the reindexing task but cannot start it again. Proceed with caution.
- Delete the reindexing task
In the Reindex panel, click Delete to delete the reindexing task.Important After you delete the reindexing task, the new indexes are also deleted. Proceed with caution.