我们正在使用Elastic-Search 5,我需要通过API删除30天以上的索引。有什么可以帮助我的吗?
最佳答案
您可以使用策展人来做到这一点。
https://www.elastic.co/guide/en/elasticsearch/client/curator/5.x/delete_indices.html
curator --host <hostname> delete indices --older-than 30
关于elasticsearch - Elastic Search获取索引API以获取30天以上的索引,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60221606/