Splunk Search

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

svercelli
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

DalJeanis
SplunkTrust
SplunkTrust

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

secrecys
Explorer

The

| head 90000

does not work...

0 Karma

thambisetty
SplunkTrust
SplunkTrust

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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...