Documentation for Kibana REST API


( Ken) #1

I attended ElasticOn Boston and was told that there is documentation online for the REST API to export / import Kibana visualizations and dashboards. I can't for the life of me find it. Any assistance would be greatly appreciated.


(CJ Cenizal) #2

Hi Ken, thanks for coming to the event! I believe this is the documentation you're looking for: https://www.elastic.co/guide/en/kibana/master/saved-objects-api.html. In Kibana parlance "saved objects" refers to the entities Kibana persists in Elasticsearch, e.g. visualizations, dashboards, saved searches, and index patterns.

Best,
CJ


( Ken) #3

Exactly.. thank you!


(CJ Cenizal) #4

By the way, if you want to export dashboards with all of the associated visualizations, etc. then I recommend trying out our Dashboard import/export API: https://github.com/elastic/kibana/pull/10858. It's much easier to use than the generic import/export API. It's not yet documented but the PR outlines how to use it. Let me know if you try it and encounter any issues!


(CJ Cenizal) #5

Additional related notes here: https://github.com/elastic/kibana/issues/14872


(whoami) #7

hi expert @cjcenizal, do we have api to create indexpattern?


(system) #8

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