Last active
January 13, 2016 05:39
-
-
Save mayvazyan/f7a1e797d8c4de6991bc to your computer and use it in GitHub Desktop.
elasticdump
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
sudo apt-get install -y npm | |
npm install elasticdump | |
sudo ln -s /usr/bin/nodejs /usr/bin/node | |
cd node_modules/elasticdump/bin/ | |
./elasticdump --input=http://localhost:9200/.kibana --output=$ --type=data --searchBody='{"filter": { "or": [ {"type": {"value": "dashboard"}}, {"type" : {"value":"visualization"}}, {"type" : {"value":"search"}}] }}' > kibana-exported.json | |
./elasticdump --input=kibana-config.json --output=http://localhost:9200/.kibana --type=data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment