Preventing Overlapping Saved Search Runs
A Splunk admin notices that a saved search scheduled to run every 10 minutes is consistently taking 15 minutes to complete, causing overlapping runs. The search aggregates data across multiple indexes and uses a large time window. What is the best way to prevent overlap and ensure the search completes?
Quick Answer
The underlying issue in this scenario is a mismatch between how often a search is scheduled to run and how long it actually takes to complete: a 10-minute schedule with a 15-minute runtime guarantees that a new run will start before the previous one has finished, creating overlapping executions that compete for the same resources. The 'Skip the next scheduled run if the previous run is still in progress' setting solves this directly by checking, at each scheduled trigger time, whether the prior instance of the search is still executing, and if so, simply not starting a new one rather than letting them run concurrently. This preserves data integrity and system resources without requiring any change to the search's logic, indexes, or time window, which matters here because the search's slowness comes from aggregating across multiple indexes over a large time window, something that isn't being altered by this setting. It's a scheduling-level fix for a scheduling-level symptom, rather than a performance optimization of the search itself. When an exam scenario describes a search whose runtime exceeds its schedule interval and calls out overlapping or concurrent runs as the specific problem to solve, look for a scheduling safeguard like this skip-if-running option rather than assuming the fix has to involve rewriting the search.
⚠ Common exam trap
Test-takers frequently confuse increasing the schedule interval or reducing the time window as a solution, but the correct approach is to use the built-in overlap prevention setting, which directly addresses the problem of overlapping runs without altering the search logic or data coverage.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Configure the search to 'Skip the next scheduled run if the previous run is still in progress'.
The 'Skip the next scheduled run if the previous run is still in progress' setting is specifically designed to prevent overlapping executions of a saved search. This ensures that if a search takes longer than its scheduled interval, the next scheduled run is skipped, avoiding resource contention and incomplete results.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Set the search to 'Run on a timer' and increase the schedule interval to 20 minutes.
Why it's wrong here
Increasing interval may cause data loss and does not guarantee no overlap if execution time varies.
- ✗
Enable the 'Schedule Priority' setting to 'Higher' and set 'Schedule Window' to 0.
Why it's wrong here
Schedule Priority does not prevent overlap; Schedule Window just delays start.
- ✗
Reduce the search time window to 5 minutes to decrease execution time.
Why it's wrong here
This could miss data and still may not solve the overlap if execution time remains high.
- ✓
Configure the search to 'Skip the next scheduled run if the previous run is still in progress'.
Why this is correct
This prevents overlapping runs by skipping if still running.
Go deeper
Related to this question
About these practice questions
One of 475 original SPLK-1002 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
2 more ways this is tested on SPLK-1002
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A Splunk admin needs to schedule a search to run every day at 2 AM and send an email alert if more than 100 events are found. Which saved search configuration achieves this?
easy- A.Set schedule to 'Daily' at 02:00, trigger on 'Custom condition' `search result count > 100`, action 'Send email'
- B.Set schedule to 'Every day' at 2:00, trigger on 'Number of Events' > 100, action 'Send email'
- ✓ C.Set schedule to 'Daily' at 02:00, trigger on 'Number of Events' > 100, action 'Email'
- D.Set schedule to 'Daily' at 02:00, trigger on 'Result count' > 100, action 'Email'
Why C: Splunk saved searches allow setting a schedule with 'Daily' at a specific time (02:00), and you can configure an alert trigger condition 'Number of Events' > 100, with action 'Email'. Option A uses 'Custom condition' with a string 'search result count > 100', which is not a standard trigger and the syntax is incorrect. Option B uses 'Every day' which is not a valid schedule option in Splunk; valid options include 'Daily'. Option D uses 'Result count' which is not a standard trigger condition name; the correct term is 'Number of Events'.
Variation 2. A Splunk administrator notices that a scheduled saved search `Daily Summary` fails every day at 2:00 AM with the error "Search job expired due to inactivity." The search runs against a large index and takes about 30 minutes to complete. What is the most likely cause?
hard- A.The user who owns the saved search does not have permissions to run it at that time.
- B.The indexer has reached its license quota and stops processing.
- ✓ C.The scheduled search is configured with a time limit shorter than 30 minutes.
- D.The search is consuming too much disk space.
Why C: The error 'Search job expired due to inactivity' indicates that the scheduled search was terminated before it could complete. In Splunk, saved searches have a configurable time limit (default 10 minutes) that specifies the maximum runtime before the search is killed. Since the search takes 30 minutes, the time limit must be set to less than 30 minutes, causing the premature termination.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SPLK-1002 practice question is part of Courseiva's free Splunk certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SPLK-1002 exam.