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 
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...