Splunk Enterprise

Configuration pushing using Deployment Server Globally

Reddi694325
Path Finder

Hi All,

I hope everyone doing good. 

 

I have One deployment server and around 10,000 Universal forwarders in my environment. I need to update the server.conf configuration in all(10,000) Universal forwarders under the path $Splunk_Home$ /etc/system/local/server.conf .  But when I try to deploy using app it is not deploying globally. Kindly help me with the same. 

 

Thanks & Regards,

Reddy

 

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

As others have said, the deployment server cannot alter or replace anything in $SPLUNK_HOME/etc/system/local.  At least not directly.

What some do is deploy an app that contains a new config file as well as a scripted input that deletes the same file in etc/system/local.  While this is usually done with deploymentclient.conf, there's no reason it can't be used with other config files.  Be careful, though, because server.conf has many more settings the deploymentclient.conf you must be very sure your new file replicates them all before deleting the system/local copy.

Once all of the forwarders are running the new config you can remove the script from the app.

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

ivanreis
Builder

Hi Reddy, The Deployment Server does not deploy changes to $Splunk_Home$ /etc/system/local/server.conf, all the apps by default are being deployed to $Splunk_Home$ /etc/apps/<app_name>.
The best practice is to create a new app, add the server.conf with the stanzas you need to update into the app and deploy it to one server for testing purposes. Avoid change/update the default files to prevent from service disruption or mismatch configuration. It’s recommended to run this test in a dev or sandbox environment to make sure this change will work as expected and it will not cause any issues to the production. If this help you to fix your issues, please give a like.

isoutamo
SplunkTrust
SplunkTrust

There is also “trick” how to remove those from system local folder after you have installed new app to replace that. @richgalloway or @gcusello probably could give to you exact instructions?

r. Ismo

0 Karma

thambisetty
SplunkTrust
SplunkTrust

can you test deploying app to one universal forwarder ( create metadata directory inside app and create a file called local.meta content should be like below)

[]

export = system

after deploying, use btool to check whether this configuration is taking precedence over the one inside system local.

 

————————————
If this helps, give a like below.
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...