Kibana REST API - saved pbjects import - createNewCopies

Hi,
I'm trying to use the flag "createNewCopies" in the saved_objects import api. I am using Kibana 7.9.3.
it is documented in:

but not implemented in the code...

How can I import and resolve a dashboard existing conflict? I want it to create a copy of the conflicted dashboards. This also doesn't work in the "Resolve import errors" api.

Thanks,
Ranit

You are looking at the wrong version of the docs.

These are the 7.9 docs (not mentioning this feature because it wasn't available back then): Import objects API | Kibana Guide [7.9] | Elastic

In the 7.11 docs it is mentioned: Import objects API | Kibana Guide [7.9] | Elastic

thanks for the link. in my link it only showed:
image
no 7.9 ...

OK, so is it possible for me to clone a dashboard somehow using the kibana rest api?

You have to click "other versions", then you can select 7.9

OK, so is it possible for me to clone a dashboard somehow using the kibana rest api?

The easiest way is probably to export, change the ids in the ndjson file to something else using a script, then import again (besides updating your stack, there are a lot of new features in 7.11)

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