Created
March 9, 2021 19:36
-
-
Save CarlosLannister/032faeb89e775cb8d642cd1172d295cd to your computer and use it in GitHub Desktop.
This file contains 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
curl --user elastic:medium -X POST "localhost:9200/_reindex" -H 'Content-Type: application/json' -d' | |
{ | |
"source": { | |
"index": "twitter" | |
}, | |
"dest": { | |
"index": "new_twitter" | |
} | |
} | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment