Deployment Architecture

Universal Forwarder - setting maxKBps via cli

mrjsnook
New Member

I've looking around for a way to set maxKBps via cli. Most of the splunk answers suggest manually editing the limits.conf file but I'm looking for a way to do this programmatically. Anyone have any suggestion on how to do this?

Thanks

0 Karma

rgaleone1
Path Finder

mrjsnook -
Your question is tagged with a universalforwarder tag; so two solutions, depending on your deployment.


  1. Small deployments, use sed (assuming you are using *nix) to read in the current value of maxKBps from limits.conf and update the value. Alternatively, use the large deployment solution.
  2. Large deployments, create an app for specifically updating maxKBps in limits.conf and push the conf file out to the nodes which require the update.

Remember regardless of the path you choose, you must restart Splunk to enable configurations.


To verify values Splunk is reading from all limits.conf files use:

 $SPLUNK_HOME/bin/splunk cmd btool limits list --debug 
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...