We have two scheduled alerts :
1) 1st fetch records for last 30 mins and cron expression :29,59 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 * * *
2) 2nd fetch records for last 6hrs and cron expression:59 5,11,17,23 * * * . .
Here we have found 3 Alerts for 30 mins are skipped, which should be occurred at 10:59 PM, 11:29 PM , 11:59 PM
and 1 Alert for 6 hrs skipped at 11:59 PM.
Why these alerts are getting skipped.?
index=_internal sourcetype=scheduler status="skipped" savedsearch_name="YOUR_SAVED_SEARCH"
You should get events like:
08-25-2019 21:30:02.860 +0000 INFO SavedSplunker - savedsearchid="nobody;SA-ThreatIntelligence;Threat - Correlation Searches - Lookup Gen", searchtype="scheduled", user="admin", app="SA-ThreatIntelligence", savedsearchname="Threat - Correlation Searches - Lookup Gen", priority=default, status=skipped, reason="The maximum number of concurrent running jobs for this historical scheduled search on this cluster has been reached", concurrencycategory="historicalscheduled", concurrencycontext="saved-searchcluster-wide", concurrencylimit=1, scheduledtime=1566768600, windowtime=0
Which should show the reason it was skipped.
Thanks for the reply!!
"The reason we found is maximum number of concurrent search jobs has been reached".
How should w e solve this ? What should be done such that no alerts get skipped anyhow?
If you've reached the maximum number of concurrent search jobs. You need to either increase the limits (if you've got the infrastructure to support it) or reduce the number of searches being run as @snigdhasaxena
@bhavneeshvohra raise the priority of your alert, disable the jobs are that running on regular basis and no longer needed or kill the jobs that are already running that have been in queue for long.