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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...