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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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