Splunk IT Service Intelligence

ITSI Predictive Analysis - Failed to train KPI models: The index into SearchResult is invalid.

rmeena21
Observer

Ola Splunkers,

Getting below error while training the KPI models for predictive analysis in ITSI...

alt text

Observed the following error in the job inspector log...

04-16-2019 00:46:24.673 ERROR DispatchThread - The index into SearchResult is invalid.
04-16-2019 00:46:24.674 INFO  UserManager - Setting user context: masked
04-16-2019 00:46:24.674 INFO  UserManager - Done setting user context: NULL -> maksed
04-16-2019 00:46:24.674 INFO  UserManager - Unwound user context: masked -> NULL
04-16-2019 00:46:24.688 INFO  DispatchThread - Downloading all remote search.log files took 0.014 seconds
04-16-2019 00:46:24.694 INFO  DispatchManager - DispatchManager::dispatchHasFinished(id='1555375562.1700', username='masked')
04-16-2019 00:46:24.756 INFO  UserManager - Unwound user context: masked -> NULL
04-16-2019 00:46:24.760 INFO  PipelineComponent - Process delayed by 21.569 seconds, perhaps system was suspended?
04-16-2019 00:46:24.760 ERROR dispatchRunner - RunDispatch::runDispatchThread threw error: The index into SearchResult is invalid.

Following checks are already done:

  • Splunkd process is running as splunk user
  • No errors observed in the splunkd log.

Any help is appreciated.

Thanks..

0 Karma

RickvdIJ
Explorer

Hi, I had the same issue with Splunk 7.0.3 and ITSI 4.2. Please check the issue ITSI-2309 on https://docs.splunk.com/Documentation/ITSI/4.0.3/ReleaseNotes/Knownissues#Predictive_Analytics. Let us know if that helps.

0 Karma

szhou_splunk
Splunk Employee
Splunk Employee

Is this a search head cluster or single SH environment? Would you check if replicate.macros=true in distsearch.conf if you are running on search head cluster?

0 Karma
Get Updates on the Splunk Community!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...