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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...