Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move dashboard between instances and keep the dashboard ID the same #263

Closed
barase opened this issue Nov 20, 2024 · 1 comment
Closed

Move dashboard between instances and keep the dashboard ID the same #263

barase opened this issue Nov 20, 2024 · 1 comment
Labels

Comments

@barase
Copy link

barase commented Nov 20, 2024

I'm moving dashboards from instance A to B. I'd like to keep the dashboard ID the same across both instances for embedding and link purposes.

Steps I've tried using gazer commands, however after step 5, the dashboard ID has not updated.

  1. Import dashboard json file from instance A
  2. Export json file to instance B
  3. Re-Import json file from instance B
  4. Edit dashboard_id in json file
  5. Export json file back to instance B using --force

Is there another command I could use to override the dashboard_id or keep it the same when moving between instances?

@drstrangelooker
Copy link
Collaborator

There is no way to keep the dashboard id the same. It is an ascending integer. but you can use a slug instead of the dashboard id in the URLs, that will be consistent across instances.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants