Splunk Search

Error in 'IndexScopedSearch': The search failed. More than 1000000 events found at time

Path Finder

So I seem to have an issue similar to the one in this question here and have accidentally indexed over 1,000,000 events on the same second. I want to delete them but I can't because the search won't run because it will produce the same error as seen in the title. Is there any way to solve this without deleting the whole index?

0 Karma


Try this - if it runs, then you should be able to delete it in chunks.

 earliest="the exact time you want to delete" | head 90000
0 Karma



| head 90000

does not work...

0 Karma


Identify events with some unique keywords and use them in the search and then apply delete command. Of course earliest and latest time is required not to delete other events.

If this helps, give a like below.
0 Karma
Get Updates on the Splunk Community!

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...