How Do I Clear Elasticsearch Indexes in CSS?
- Have indexes automatically cleared on a regular basis.
You can create a scheduled task to execute an index deletion request periodically. CSS supports Open Distro Index State Management. For details about how to clear obsolete indexes periodically, see Decoupling Index Storage and Compute Through Index Lifecycle Management.
For details about Open Distro Index State Management, see https://opendistro.github.io/for-elasticsearch-docs/docs/im/ism/.
- Manually clear indexes.
- Log in to Kibana and run the DELETE / Index name command in Dev Tools.
- Log in to Cerebro, search for the target index name, click the index name, click delete index, and click Confirm in the displayed dialog box.
Figure 1 Deleting an index from Cerebro
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot