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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...