Dashboards & Visualizations
Highlighted

How can I deploy a couple of dashboards from stage to prod?

Ultra Champion

In a search head clustered environment, how can I deploy a couple of dashboards from stage to prod?

Tags (2)
0 Karma
Highlighted

Re: How can I deploy a couple of dashboards from stage to prod?

SplunkTrust
SplunkTrust

It may as simple as creating the dashboard from Splunk Web UI of any search head or deploying the dashboard from the deployer (in case it's part of the app that's managed via deployer and you want to keep this dashboard read-only.

View solution in original post

Highlighted

Re: How can I deploy a couple of dashboards from stage to prod?

Ultra Champion

Great - I like the simple way of creating the dashboard from Splunk Web UI of any search head ; - )

Highlighted

Re: How can I deploy a couple of dashboards from stage to prod?

Ultra Champion

@somesoni2 - I can accept it as answer if you convert it to an answer...

0 Karma
Highlighted

Re: How can I deploy a couple of dashboards from stage to prod?

SplunkTrust
SplunkTrust

Converted to answer 🙂

0 Karma
Highlighted

Re: How can I deploy a couple of dashboards from stage to prod?

Ultra Champion

Thank you!

0 Karma
Highlighted

Re: How can I deploy a couple of dashboards from stage to prod?

Ultra Champion

Assuming that prod and stage are separate systems your best bet might be to export the relevant app from stage and install/upgrade the version on prod.

If your on a recent version you can use the splunk package app command.
http://dev.splunk.com/view/SP-CAAAEMY#package

0 Karma
Highlighted

Re: How can I deploy a couple of dashboards from stage to prod?

Ultra Champion

Not sure about the app as I was asked to deploy these three dashboards only...

0 Karma
Highlighted

Re: How can I deploy a couple of dashboards from stage to prod?

Ultra Champion

@somesoni2's solution will work a charm if all of the relevent knowledge objects are on the Prod system, but if the new dashboards have dependancies on eventtypes, fields, tags etc you might find that some of the panels may not render.

Try @somesoni2's idea first as its definatly the simplest, but if you find that the dashboards dont render you may need to move the whole app (or copy the conf files by hand)

0 Karma
Highlighted

Re: How can I deploy a couple of dashboards from stage to prod?

Ultra Champion

Right right... it doesn't seem to be a best practice to move pieces of the app ; -)

0 Karma