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!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...