Splunk Search

How to ignore delayed events in splunk alert and alert only if log is actually missing?

rohit_d
Engager

I have splunk query which runs every 5 minutes and alert if certain keyword is not logged in index in last 5 minutes. But whenever there are splunk event delays it causes false alert to trigger. Is there any way i can differentiate if keyword is really not logged or is it due to latency in events .
I tried using (_indextime - _time) but this will only work once event is received.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Allow time for events to be indexed by searching earliest=-6m latest=-1m instead of earliest=-5m latest=now.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...