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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...