Last active
December 7, 2017 16:45
-
-
Save allanbatista/167b95293a13240cea1ede840a3dff91 to your computer and use it in GitHub Desktop.
Fazer Dump de Indice do Elasticsearch
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
# https://github.com/taskrabbit/elasticsearch-dump | |
elasticdump \ | |
--input=http://localhost:9200/index_name \ | |
--output=product_action_results2.json \ | |
--type=data \ | |
--searchBody '{"query":{"query_string": { "query": "sale_system_name:Amazon AND type:error" }}}' \ | |
--limit 1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment