Deployment Architecture

Change server.conf script

markrponce
New Member

I need to add configuration changes to the server.conf file on 800+ systems. I know how to add changes to the server.conf however I'm trying to avoid fixing each box individually. Is there any automated why to do this? Thanks!

Tags (1)
0 Karma

maniishpawar
Path Finder

As suggested above, SCCM for windows is perfect for this kind of job.
If it is not available, use powershell script or powershell DSC scripts which can automate this stuff.

Still another solution, which I am not sure is a valid approach , try to check with your n/w admins, I guess files can be pushed using group policy as well.

0 Karma

jrprez1804
Path Finder

You can use tools like PDQ deploy for a windows environment to help automate this kind of task.

0 Karma

rturk
Builder

Hi Mark,

I don't think there's a quick & easy fix for you I'm afraid. By default server.conf is located here:

$SPLUNK_HOME/etc/system/local/server.conf

Because it's here, it has the highest precedence and will overwrite identical config stanzas declared in a server.conf you put in any user or app directories. So that kinda rules out using a deployment server.

If you're using Linux, then you might want to consider using something like Puppet, or Chef for config file management which would make this a relatively simple task... but seeing as you're asking this questions I'm guessing you don't have it, and because you have 800+ server it will be a non-trivial task/project to undertake.

If you're using Windows, then something like SCCM will be your best bet... but once again, if you don't have it... then expect it to be a non-trivial task/project to undertake.

My advice... if it's a Linux environment you have, make friends with one of your Admins who knows a bit about scripting.

Good Luck!

markrponce
New Member

Thanks for the answer! I was hoping someone else had this same problem and had found a automated way to fix it.

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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...