Dashboards & Visualizations

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

ddrillic
Ultra Champion

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

Tags (2)
0 Karma
1 Solution

somesoni2
Revered Legend

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

nickhills
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

If my comment helps, please give it a thumbs up!
0 Karma

ddrillic
Ultra Champion

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

0 Karma

nickhills
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)

If my comment helps, please give it a thumbs up!
0 Karma

ddrillic
Ultra Champion

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

0 Karma

somesoni2
Revered Legend

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.

ddrillic
Ultra Champion

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

ddrillic
Ultra Champion

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

0 Karma

skoelpin
SplunkTrust
SplunkTrust

Converted to answer 🙂

0 Karma

ddrillic
Ultra Champion

Thank you!

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...