Export each json as tar file


(nivetha) #1

Am currently running kibana 4.3.1 . Is there any way that I can export dashbords as a tar file? .. Since Am working in production system, I cannot check it with the higher versions.


(Lee Drengenberg) #2

Hi Nivetha,

From Kibana you can only export dashboards (and other saved objects) as json. You could then tar the json.

Another option I know of is to use https://www.npmjs.com/package/elasticdump which could export any part of the .kibana index with something like http://localhost:9200/.kibana/dashboards/_search

There's one example like this;
elasticdump --input=http://production.es.com:9200/my_index --output=$ | gzip > /data/my_index.json.gz


(system) #3