Getting Data In

Limit/Filter data indexed based on sourcetype volume

kbrady
Explorer

Is there a way to limit the number of events indexed for a given sourcetype within a given amount of time?

For example, we have some windows hosts that can have highly variable data volumes. This variability occasionally leads to problems. We'd like to address this by accepting a certain amount of events, say up to 10k/minute on average, and drop any events that exceed that rate. A data size based limit might be workable if an event count limit isn't possible.

I know we can limit the KB/s sent by a forwarder. However, that's a global setting, and we'd like to do this for only specific sourcetypes. We also want to drop events when the limit is exceeded instead of queuing them for later delivery.

Tags (2)
1 Solution

jbsplunk
Splunk Employee
Splunk Employee

The only setting like this is maxKBps, and as you've noted, it is global. You can't do rate limiting on forwarders based on source, host, sourcetype, etc.

View solution in original post

kbrady
Explorer

That's what I thought, figured I'd at least ask before trying a feature request

Thank you.

0 Karma

jbsplunk
Splunk Employee
Splunk Employee

The only setting like this is maxKBps, and as you've noted, it is global. You can't do rate limiting on forwarders based on source, host, sourcetype, etc.

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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