Getting Data In

Index alert excessive growth

Emiskowi
New Member

We are having problem with some of our indexes growing rapidly. I am trying to figure out a search/alert that have a deviation by the hour compared to previous days at the same time. I have the following search below that gives me the usage by the hour. Any help would be greatly appreciated.

index=_internal group="per_index_thruput" earliest = -1h@h latest=@h
| eval mb=kb/1024
| timechart span=1h sum(mb) as HourlyTotal
| addtotals fieldname=HourlyTotal
| streamstats sum(HourlyTotal) AS AccumulatedTOTAL
| bucket _time span=1d

0 Karma

valiquet
Contributor

You can use standard deviation
| stats stdevp(HourlyTotal) as standdev by series | head 1 | where Hourly> HourlyTotal*2

0 Karma
Get Updates on the Splunk Community!

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...

Splunk and TLS: It doesn't have to be too hard

Overview Creating a TLS cert for Splunk usage is pretty much standard openssl.  To make life better, use an ...

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

Splunk Lantern is a Splunk customer success center that provides practical guidance from Splunk experts on key ...