Created
July 20, 2020 05:50
-
-
Save notsobad/25cd904a9551cb57b0ae5499be323172 to your computer and use it in GitHub Desktop.
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
docker run -v `pwd`:/data/ -e NODE_TLS_REJECT_UNAUTHORIZED=0 --rm -ti elasticdump/elasticsearch-dump \ | |
--input=https://user:[email protected]/dir/ \ | |
--input-index=index/type \ | |
--searchBody="{\"query\":{\"term\":{\"key\": \"xxxx\"}}}" \ | |
--output=/data/xxx.json \ | |
--size=1000 \ | |
--concurrency=5 \ | |
--type=data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment