Hi, i am trying to download (export) a dashboard with (references), to import that dashboard into a new created Elasticsearch instance. I've got the api correct to export and then to import! But now i try to find the ID of the dashboard based on the Title of the dashboard. So i would like to list down the saved objects with title, and id. So i am able to select which dashboard to download(export) en lateron import these into a new elasticsearch cluster. Info: i am trying to define a predefined dashboard for a data engineering project, which i would like to deploy on multiple instances of elastic.
Hi @anton99 Welcome to the community
Use the Saved Object _find
API
GET kbn:/api/saved_objects/_find?type=dashboard&filter=dashboard.attributes.title:"[Metrics Istio] Traffic"
I was trying to use only non Deprecated API calls. what will be the new one . or can i assume this _find api key will stay at least more than a year ?
Hi @anton99 unfortunately this API is near the end of its lifecycle but it will be supported for all of 8.x (which is quite some time see EOL Policy) they APIs for dashboards are changing in 9.x.