Clone dashboard programatically

Hello,

I have create a dashboard with visualisations in it.

I will clone the dashboard and assign to another index and this must go programatically (other index: same structure but other data in it)

How can I do this

greetings

Artur

There is no direct API for cloning a dashboard and updating the index pattern used by the embedded panels. Your solution could use the saved object API to retrieve the targeted saved objects, copy them, modify them, and then publish the new saved objects. This solution will be brittle because the saved object structure could change between minor releases.

This is a commonly requested feature and there is an open enhancement issue for Dashboard level index patterns. Please follow this issue for updates.

Thanks,
Nathan

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