Splunk Search

Can I copy configurations (dashboards, searches, etc.) which were set up on a Splunk server to another one?

konishi_taisuke
New Member

I'd like to copy Splunk configurations such as dashboards, searches, etc. on a Splunk server to another one.

Is it possible? If yes, which data Should I copy?

0 Karma

jplumsdaine22
Influencer

If you want to have a common set of dashboards and saved searches, why not use a deployment server?

See: http://docs.splunk.com/Documentation/Splunk/6.3.1511/Updating/Deploymentserverarchitecture

If you want to replicate user created knowledge objects between splunk servers, you're better off using Search Head Clustering

See: http://docs.splunk.com/Documentation/Splunk/6.3.1511/DistSearch/AboutSHC

0 Karma

renjith_nair
Legend

It depends on which objects you want to copy. If you have created the searches and dashboards using UI, then the files will be located in your app's local directory

Dashboards are in local/data
savedsearches are in local/savedsearches.conf
macros are in local/macros.conf
and so on..

You need to copy the metadata folder as well if you would like to keep the same permissions for your objects.

In case you want system configurations as well, its better to copy complete splunk folder. However you might need to take care of hostname, ssl configurationsand other system dependent configurations

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

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

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...