Splunk Enterprise

What is the best method to sync production to dev environment? (Search Head Only)

mburgess97
Path Finder

I would like to sync my production search head to a development search head on a daily/weekly basis.  I need the same apps/configs on development server for testing before moving approved configs back into production.

 

Any tips on building a development search head and pulling in the production configs/apps?

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Many customers sync their Dev and Prod instances via Git.  Searches are developed on the Dev instance and saved to Git once complete and tested  Then the searches are pushed to Prod from Git.  This approach requires no direct link between Dev and Prod, keeping the security team and auditors happy.  Git is the source of Truth with change/blame history.

---
If this reply helps you, Karma would be appreciated.

PickleRick
SplunkTrust
SplunkTrust

This can be tricky. I'd try simply copying $SPLUNK_HOME/etc/apps $SPLUNK_HOME/etc/users and doing a dump/restore of kvstore. But you're gonna get into issues with some environment-specific settings. Like outputs.conf (if pushed via app) or roles/users configuration.

0 Karma
Get Updates on the Splunk Community!

Wondering How to Build Resiliency in the Cloud?

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

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

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