Splunk Search

I'm thinking index corruption, right?

grijhwani
Motivator

Search =

index=index_root*| stats first(_time) as latest last(_time) as earliest count(index) by index | convert timeformat="%Y-%m-%d %H:%M:%S" ctime(earliest) ctime(latest)

Eventually results in

"[{{hostname}}] Error in 'IndexScopedSearch': The search failed. More than 3125000 events found at time 1338306857."

The epoc time of the error (2012-05-29 15:54:17 BST) is 4 seconds earlier than the earliest reported time before it bombs (although it reports it erroneously as 16:54:21). If I tie the search down to the last few seconds only 11 events are reported for that particular second (:21).

Tags (3)
0 Karma

Kate_Lawrence-G
Contributor

kind of...you basically have millions of events with the same date/time stamp which is causing an logical error in Splunk as to how many events it can process per second. (see http://splunk-base.splunk.com/answers/2958/error-in-indexscopedsearch-the-search-failed for very good explanation)

This is usually related to a bad time date stamp logic in a props.conf somewhere that isn't breaking the events down correctly.

0 Karma

grijhwani
Motivator

The thing is I can be pretty certain that in the original data this was not the case, and that something has intervened in the index. I'm going back auditing historic data that were in use as live data at the time, and no-one flagged up a fault back then.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...