14 Nov 2020 09:56 AM
Hello Folks,
I have definations exported for all management zones in JSON from one environment.
Is there a way with which we can import management zones JSON on another environment in bulk?
I know, we can post JSON for each management zone from API explorer (of another environment) but I'm looking for some automated way.
Regards,
AK
Solved! Go to Solution.
14 Nov 2020 06:01 PM
Hi Akshay,
I don't think you can import them in bulk, but I created a tool that can help you.
https://github.com/AlonsoDeCosio/dynatrace-sync-environments
HTH
Alonso
16 Nov 2020 10:15 AM
Hi Akshay,
I've done this and a lot of other configuration sync in my config management. In fact it allows you to transfer ANY dynatrace configuration from one tenant to another and a lot more!
I've decided to put parts of this work under GPLv3 so you can reuse it:
https://github.com/reinhard-brandstaedter/dt-config-mgmnt
What this basically allows you to do is to fetch configs, store it into JSON files and then import the whole config set into other environments