Getting Data In

Is there a way to limit the thruput of my forwarder?

the_wolverine
Champion

I don't want my forwarder to consume too much bandwidth or other server resources sending out data. How can I limit thruput?

Tags (3)
1 Solution

the_wolverine
Champion

You can set the thruput in limits.conf via the [thruput] stanza. Example:

[thruput]
maxKBps = 256
  • Alternatively, you can set maxKBps = 0 to lift any thruput cap. At this point you'll be limited by your actual bandwidth.

  • Enabling the LightForwarder or using an universal forwarder will automatically set your thruput to 256 maxKBps.

  • The same setting, when used on an indexer will also limit its thruput.

View solution in original post

the_wolverine
Champion

You can set the thruput in limits.conf via the [thruput] stanza. Example:

[thruput]
maxKBps = 256
  • Alternatively, you can set maxKBps = 0 to lift any thruput cap. At this point you'll be limited by your actual bandwidth.

  • Enabling the LightForwarder or using an universal forwarder will automatically set your thruput to 256 maxKBps.

  • The same setting, when used on an indexer will also limit its thruput.

yoho
Contributor

If you turn on compression, will this limit apply to the thruput before or after compression ?

Simeon
Splunk Employee
Splunk Employee

You can tune the indexing limit by editing the maxKBps parameter in the limits.conf file:

[thruput]

maxKBps = <integer>
* If specified and not zero, this limits the speed through the thruput processor to the specified rate in kilobytes per second.

As an example, the SplunkDesktop app will limit your thruput to 256KBps. This is to ensure you don't overload your desktop system where you installed Splunk.

For an environment that has limited resources, you may want to set this value. If you find that your indexing rate seems limited, or your events take a long time to show up, you should confirm that your Splunk instance DOES NOT have this value set.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...