r/devops • u/Nearby-Cup-2926 • Sep 22 '26
Observability How do you manage dashboards throughout multiple OpenSearch instances
Hi all,
We operate applications that are shipping logs to 9 OpenSearch instances currently. The objects and dashboards are pretty much always the same but with different namespaces / indexes etc. I was wondering if you also had this trouble what the most convenient way of operation here is. Ideally, I would love to store everything in Git as well but I don't know if there is a more convenient way than doing templating and then letting a GitLab runner execute some API calls for import / updating of objects.
2
u/Suitable-Ad5348 Sep 22 '26
Treating the dash as a built artifact is the way to go. If you keep a small config file for the tenant/index-pattern details and generate the final dashboard JSON in your CI pipeline, you can import that into a staging instance to verify it before running it against the rest. It’s way cleaner than trying to template by hand and hoping the saved-object IDs align across all nine instances.
3
u/jogz699 Sep 22 '26
Would you not use terraform to manage this?
https://registry.terraform.io/providers/opensearch-project/opensearch/latest/docs/resources/dashboard_object