I have created a dashboard which I would like to save to a file which I can load after next clean installation of my ELK stack by using curl.
Is this possible in Kibana5?
I found some limited documentation for Kibana3 but nothing for Kibana5.
I can see find my dashboard using a simple query but I do not think the visualizations are stored here.
My visualizations are stored separately:
If it is possible to save the dashboard to a json file then I also wonder how to load this?
Is it enought to print them with curl and and then load them back using curl XPUT?
curl -XPUT 'http://elasticsearch:9200/.kibana/visualization' -d@/tmp/my_visualization1.json
curl -XPUT 'http://elasticsearch:9200/.kibana/visualization' -d@/tmp/my_visualization2.json
curl -XPUT 'http://elasticsearch:9200/.kibana/visualization' -d@/tmp/my_visualization3.json
curl -XPUT 'http://elasticsearch:9200/.kibana/dashboard/' -d@/tmp/my_dashboard.json
Are there no tools for doing this?