Alerting

Splunk alert when search result changes over last 5 minutes

rakes568
Explorer

I have data like this:

Item1 Item2 Status

A B On
C D Off

Now I want to generate an email alert if this search result changes over last 5 minutes. For example:
1. If status of any two items already present in search result changes, generate an alert.
2. If a new row gets added, generate an alert.
3. If a rwo gets deleted, generate an alert.

Tags (2)
0 Karma

oda
Communicator

Save the result 5 minutes ago in the lookup file and use the diff command.
Is it the desired behavior?
https://docs.splunk.com/Documentation/Splunk/6.6.1/SearchReference/Diff

0 Karma

Richfez
SplunkTrust
SplunkTrust

Do these events have proper timestamps? Are they from a DB? Can you paste one or two of the actual events?

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...