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!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...