Deployment Architecture

When using the deployment server, what is the difference between local and default directories?

brent_weaver
Builder

I am using the deployment server and it has been my company's practice to put inputs.conf files in local. Is this where it belongs? It would seem that local would take precedence over default and is used to very specific site logging needs? Am I way off base here? Toto, is this Kansas 🙂

Thanks!

woodcock
Esteemed Legend

The best policy is that the AUTHOR of the app puts it into default and everyone else writes into local. When you download an app from apps.splunk.com you will find that all of the author's stuff is in default and nothing is in local and when you deploy these apps from your DS, you should not modify this. Also, when you write your own proprietary apps that are for internal use only, when you put them on the DS, they should use default, not local. So the general rule is that if it is on the DS, it should be using default UNLESS you are making a modification to something that is distributed with the base Splunk distribution (e.g. '$SPLUNK_HOME/etc/system//.conf); in that case you make your proprietary changes inside$SPLUNK_HOME/etc/system/local*.confand NEVER touch anything inside anydefault` directory that came from your original installation of Splunk binaries.

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!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...