Log Service allows you to reindex logs for a Logstore after you modify the current indexing rules or when you need to configure indexes for historical logs. You can reindex logs in a specified time range for a Logstore based on the latest indexing rules. This topic describes how to reindex logs for a Logstore in the Log Service console.
Limits
- You can reindex only the logs that are generated in the last 15 minutes to 30 days.
- You can create a maximum of 10 reindexing tasks.
- You can run only one reindexing task at a time.
Billing
- Reindexing incurs indexing fees and storage fees. Indexing fees are charged only once and storage fees are charged on an hourly basis. For more information, see Billing items and methods.
- After you delete a reindexing task, the new index data is also deleted and no more storage fees are incurred for the deleted index data.
Procedure
What to do next
After you create a reindexing task, you can perform the following operations:
- Stop the reindexing task
In the Reindex Logstore dialog box, click Stop to stop the reindexing task.Notice After you stop the task, it can be deleted, but cannot be restarted. Proceed with caution.
- Delete the reindexing task
In the Reindex Logstore dialog box, click Delete to delete the reindexing task.Notice After you delete the reindexing task, the new index data is also deleted. Proceed with caution.