Getting Data In

can limits.conf and server.conf be placed inside etc/apps//default

robf
Path Finder

title says it all? does not state clearly in docs like other files such as inputs.conf

0 Karma

robf
Path Finder

sorry, to clarify i meant
etc/apps//default
or
etc/apps//default

so not one of the splunkbase apps or default splunk apps.

0 Karma

the_wolverine
Champion

The issue with configuring these in ../default/ is that for any standard app distribution (e.g. search), the configuration file will be overwritten by any upgrade or re-install which applies the default configuration. This results in your custom config changes being wiped out.

Common practice is to put it in ../local/ to prevent the above scenario.

0 Karma

robf
Path Finder

thanks, yes as now i have added to my question i only meant my own custom app. not splunk base or default

0 Karma

woodcock
Esteemed Legend

These are global files so they should stay where they are.

0 Karma

robf
Path Finder

i can see they can both be found in default install app for a windows UF:

splunk\etc\apps\SplunkUniversalForwarder\default\

I dont want to overwrite anything, only add. I would rather add config only in etc/apps/ for large deployment

0 Karma

woodcock
Esteemed Legend

Yes, the DS/DC case is the one case where it would be distributed in an app context. We, too have several OS-based "base" forwarder apps that have server-wide settings. This is OK because these apps are mutually-exclusive from eachother. The reason it is not a great idea is because precedence will cause your app's version of the file to be preferred over the system's version. In the case we described, this is desirable. In the case of a "regular" app, this could be disastrous and very poor form.

0 Karma

robf
Path Finder

thanks so over all this does work but the idea is to use local rather than default where you are in a splunk base or splunk default app.

0 Karma
Get Updates on the Splunk Community!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...