overlap
Note: We do not recommend using the overlap
command to fill or backfill summary indexes. Splunk Enterprise provides a script called fill_summary_index.py
that backfills your indexes or fill summary index gaps. If you have Splunk Cloud Platform and need to backfill, open a Support ticket and specify the time range, app, search name, user and any other details required to enable Splunk Support to backfill the required data. For more information, see "Manage summary index gaps" in the Knowledge Manager Manual.
Description
Find events in a summary index that overlap in time, or find gaps in time during which a scheduled saved search might have missed events.
- If you find a gap, run the search over the period of the gap and summary index the results using "| collect".
- If you find overlapping events, manually delete the overlaps from the summary index by using the search language.
The overlap
command invokes an external python script $SPLUNK_HOME/etc/apps/search/bin/sumindexoverlap.py
. The script expects input events from the summary index and finds any time overlaps and gaps between events with the same 'info_search_name' but different 'info_search_id'.
Important: Input events are expected to have the following fields: 'info_min_time', 'info_max_time' (inclusive and exclusive, respectively) , 'info_search_id' and 'info_search_name' fields. If the index contains raw events (_raw), the overlap
command does not work. Instead, the index should contain events such as chart
, stats
, and timechart
results.
Syntax
overlap
Examples
Example 1:
Find overlapping events in the "summary" index.
index=summary | overlap
See also
outputtext | pivot |
This documentation applies to the following versions of Splunk Cloud Platform™: 8.2.2112, 8.2.2201, 8.2.2202, 8.2.2203, 9.0.2205, 9.0.2208, 9.0.2209, 9.0.2303, 9.0.2305, 9.1.2308, 9.1.2312, 9.2.2403 (latest FedRAMP release), 9.2.2406
Feedback submitted, thanks!