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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

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 ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...