Alerting

Setup alert on inactivity

dhirajjain
New Member

Hi,

I want to setup an alert in SPLUNK where it gives me an alarm when there is no log for 15 mins.

Please guide me

Thanks
DJ

Tags (2)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

First, you should take a look at http://docs.splunk.com/Documentation/Splunk/5.0.3/Alert/Aboutalerts

After that, define a search that looks for your logs - maybe something like this:

index=foo sourcetype=bar field=baz | stats count

Create an alert for that, scheduled to run every fifteen minutes over a fifteen minute timerange, triggered if count is zero. If you're confident to have delays less than five minutes your timerange could be -5m to -20m, and your cron schedule could be */15 * * * *.

carfield
New Member

Can I search for multiple log files, and group by each file, then alert if either one of the files don't update?

0 Karma

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