All Apps and Add-ons

Best Practice for copying dashboards and apps between Splunk Enviroments

chazilla44
New Member

Hello,

I have multiple Environments each with a distributed deployment with various indexers, search heads and forwarders. I like many have setup alot of apps and dashboards in my DEV/UAT environment. My question is I want to use the same Dashboards and Apps in my other Environments i.e. IAT, PROD etc..

I know you can easily export the dashboard XML and searches and write them into the envirnonments and then download the actual apps on the deployment server in each environment and push out but I was wondering if anyone knew of a more structured way to do both without basically starting over in each environment.

Thanks,

Chad..

Tags (1)
0 Karma

ncsantucci
Path Finder

While I don't know your deployment topology (distributed deployment or not, or even if you have multiple deployment servers)...

  1. If you have multiple deployment servers, there is a so-called Multi-tenant scenario "Example: How to propagate apps from Primary to Secondary Deployment Server" http://wiki.splunk.com/Deploy:DeploymentServer (which will be unsupported in the next major release of Splunk 7.0). More details straight from the docs: http://docs.splunk.com/Documentation/Splunk/6.2.3/admin/Tenantsconf. There is another Answers post on this method: http://answers.splunk.com/answers/60559/can-one-deployment-server-send-data-to-another-deployemnt-se...
  2. If you version control your apps in say Git (or some other version control system), you can check in your config apps which live on say on DS1 (deployment server one for DEV/UAT), then you can pull down your config apps on DS2 (deployment server two for ITA, etc.), then reload the deployment server.

In a distributed deployment, which most large enterprise environments have due to having data collected from multiple data centers, method 2 might be your best bet!

Good luck!

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Dashboards shared within an app or globally will get moved over after exporting the app from one stage and importing it in the next. You can verify this by looking at $SPLUNK_HOME/etc/apps/your_app/local/data/ui/views, this should contain your XML files. Export the app using the App Exporter I linked to above, grab the .spl file, open it with a tar.gz capable tool and navigate to the same path - you should find your XML files again.

0 Karma

chazilla44
New Member

Is the App Exporter only linux compatible or do you have a zip version for windows? The enviroment is only windows not linux?

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

It's platform independent, and I'm using it at a customer on 2008R2.

0 Karma

chazilla44
New Member

Hi,

2 seems the most logical. They are not version controlled. However, what about the dashboards I created in my App in DEV what is the best way to move them over. Is this just copying the XML over or would moving the apps include the dashboards associated with those apps?

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

The App Exporter at https://splunkbase.splunk.com/app/2613/ can help you export your apps from DEV to later import them in IAT and PROD.

0 Karma

woodcock
Esteemed Legend

That is what I do, make the dashboards an app and use DS.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...