Created
April 8, 2017 01:10
-
-
Save whoo/235421475ce79d9e4e98b9b198c66b23 to your computer and use it in GitHub Desktop.
Clean Elastic Search
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /_cat/indices?v | |
POST /_reindex?refresh&wait_for_completion=false | |
{ | |
"source": { | |
"index": "logstash-2017.03.*" | |
}, | |
"dest": { | |
"index": "logstash-2017-q1" | |
} | |
} | |
DELETE logstash-2017.03* | |
GET _tasks?detailed=true&actions=*reindex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment