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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...