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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...