Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document import/export Dashboard API #14872

Closed
tylersmalley opened this issue Nov 9, 2017 · 2 comments
Closed

Document import/export Dashboard API #14872

tylersmalley opened this issue Nov 9, 2017 · 2 comments
Assignees
Labels
Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Docs

Comments

@tylersmalley
Copy link
Contributor

tylersmalley commented Nov 9, 2017

Originally introduced in #10858, we should add documentation for this tagged experimental.

Export:
curl -XGET localhost:5601/api/kibana/dashboards/export?dashboard=[dashboard_uuid] > my-dashboards.json

Import:
curl -XPOST localhost:5601/api/kibana/dashboards/import -H 'kbn-xsrf:true' -H 'Content-type:application/json' -d @my-dashboards.json

@mnp
Copy link

mnp commented Nov 28, 2017

I am interested in exporting everything from one system and importing it into another. The use case would be developing searches, visualizations, and dashboards on a dev instance by hand, saving it off as a work product, and then automatically importing it into new instances at install time. So far I've gotten this working by hand with the small extra step of identifying the UUID of the default index in the exported JSON and replacing (sed) it with the UUID of the default index in the destination system.

@epixa epixa added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label May 22, 2018
@epixa epixa self-assigned this May 29, 2018
@ossindayigaya
Copy link

ossindayigaya commented Aug 20, 2018

I'm working on using the above import and export dashboard endpoints in production (running 5.6.4). Is there anything I'm missing to leverage these endpoints? I'm currently getting an illegal_argument_exception due to request [/kibana/dashboards/export] contains unrecognized parameter: [dashboard] and I'm using api/kibana/dashboards/export?dashboard=AWUQ9qG5OA9KEA5JT1Ug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Docs
Projects
None yet
Development

No branches or pull requests

4 participants