Import kibana dashboard using curl request

Hello,

Is there any way I can import an exported kibana dashboard using curl?

Cheers,

Saved Kibana objects are just elasticsearch documents, so you could potentially just send curl requests to elasticsearch. Be careful though, if you send the request before kibana creates the .kibana index it might create an index with the wrong mapping (by using the elasticsearch defaults). https://github.com/elastic/kibana/pull/10967 is working to add a saved object api to kibana so you would be able to create saved objects (like dashboards) via a Kibana API

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.