The dashboard saved object document contains the IDs of all its linked visualizations. You can't do joins in ES so there's no way to grab everything in a single query, but you could easily write a script that retrieves everything for you directly from ES.
Hi Matt Bargar,
you have suggested the above thing earlier i need in detail
please suggest the script how to grab the dashboard with its related visualizations i mean how can i export the dashboard with its related visualizations
so that if i try to import on other elk instance my dashboard should be ready with its related visualizations and it should wait for the data to be indexed