Installation

Prevent over-index volume usage for free edition?

ayachem
New Member

Our normal index volume is less than 100 MB a day, putting us squarely in the free edition usage range. However, over the weekend, an SQL server hit a size limit and proceeded to dump 20 GB of logs (8 GB/day) to the windows event log. Yea, gigabytes. So subsequently my Splunk went over-limit for those 3 days and I can no longer search. Is there any option to set a limit from the Splunk data input side to prevent this sort of massive overage?

Any advice would be greatly appreciated.

Thank You,

~ Michelle

0 Karma

seanwong
Explorer

You may want to consider using a Splunk Forwarder on your SQL server. On the splunk forwarder configure your inputs.conf as normal, but you'll need to modify your maxkbps throughput limit, to prevent over indexing.

limits.conf:
[thruput]
maxKBps =
* If specified and not zero, this limits the speed through the thruput processor to the specified
rate in kilobytes per second.
* To control the CPU load while indexing, use this to throttle the number of events this indexer
processes to the rate (in KBps) you specify.

If you're reading from an open socket for your data instead of log files, you may also want to consider using persistentqueues to prevent dropping data if you cannot read/send fast enough.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...