Alerting

Alert when there is a peak of activity

ctaf
Contributor

Hello,

I am currently setting up some graphs and I was wondering if there is a simple and flexible way to generate an alert when there is a unusual peak in the graph.

I know I can set up an alert if X events have been found but this is not flexible. Is there a way that Splunk can learn that, for example, on Mondays, there are more events generated so the alert limit should be higher ?

Thank you !

0 Karma
1 Solution

javiergn
Super Champion

The way I approached this in the past was using a summary index (report acceleration might work too):

  • Summarise your data hourly, daily or whatever range you find more suitable for your needs
  • Apply the relevant statistical functions to your summary data (doing the same against non-summarised data could take ages)
  • Compare your previous results with your current ones in order to trigger the alerts you want

I don't have access to my old Splunk instance at the moment so I can't really paste any code or screenshots.

Hope that helps.

Thanks,
J

View solution in original post

0 Karma

woodcock
Esteemed Legend

You could use timewrap app to compare week-over-week and do a precentage variation that is constant:

https://splunkbase.splunk.com/app/1645/

ctaf
Contributor

Wow, this looks very nice. If you have any other command to compare charts over time, do not hesitate to share it.

0 Karma

javiergn
Super Champion

The way I approached this in the past was using a summary index (report acceleration might work too):

  • Summarise your data hourly, daily or whatever range you find more suitable for your needs
  • Apply the relevant statistical functions to your summary data (doing the same against non-summarised data could take ages)
  • Compare your previous results with your current ones in order to trigger the alerts you want

I don't have access to my old Splunk instance at the moment so I can't really paste any code or screenshots.

Hope that helps.

Thanks,
J

0 Karma

jeffland
SplunkTrust
SplunkTrust

You could also check out the Machine Learning App which features one such use cases explicitly. Check it out if you're interested, I can really recommend it!

0 Karma

ctaf
Contributor

Thank you. I will check out this app 🙂

0 Karma
Get Updates on the Splunk Community!

Your Guide to Splunk Digital Experience Monitoring

A flawless digital experience isn't just an advantage, it's key to customer loyalty and business success. But ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

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 ...