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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...