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!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...