Getting Data In

Best way to deploy new limits.conf on Windows universal forwarder?

Ulfb
Explorer

Hi,

We have Splunk 6 with Deployment server.

I'm trying to understand how to best deploy limits.conf with an app.

I note that when Splunk Uni Fwd are deployed to an windows host it's get here:

C:\Program Files\SplunkUniversalForwarder\bin>splunk  cmd btool limits list thruput --debug
C:\Program Files\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\default\limits.conf [thruput]
C:\Program Files\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\default\limits.conf maxKBps = 256

An app won't override this, so do I need to delete "C:\Program Files\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\default\limits.conf" to be able to use an deployable app ?

How do others solve this ?

0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

An app will override this just fine. Settings in any "local" conf folder will override settings in any "default" folder.

View solution in original post

gkanapathy
Splunk Employee
Splunk Employee

An app will override this just fine. Settings in any "local" conf folder will override settings in any "default" folder.

Ulfb
Explorer

Thanks.

It working using an lover Letter as app name.

0 Karma

aaronkorn
Splunk Employee
Splunk Employee

limits.conf requires a restart for the changes to take hold http://docs.splunk.com/Documentation/Splunk/6.1.2/Admin/limitsconf

If you place limits.conf in the local directory of any deployment app and have restartSplunkd = true for your particular serverclass in serverclass.conf you should be set.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...