fakenine
(Samy Kacimi)
March 22, 2018, 4:01pm
1
Hello,
In Kibana 6.2.2, I exported all my searches, visualizations and dashboards via the "Export Everything" button in the "Management" section.
How can I use the API to later import everything via the JSON file (via curl for instance) ?
Regards,
You could use the import dashboards API
fakenine
(Samy Kacimi)
March 23, 2018, 10:50am
3
This does not seem to be working...
curl -XPOST http://localhost:5601/api/kibana/dashboards/import -H 'kbn-xsrf:true' -H 'Content-type:application/json' -d @export.json
Result:
{"statusCode":400,"error":"Bad Request","message":"\"value\" must be an object","validation":{"source":"payload","keys":["value"]}}
1 Like
system
(system)
Closed
April 20, 2018, 11:03am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.