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
mrjsnook -
Your question is tagged with a universalforwarder tag; so two solutions, depending on your deployment.
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