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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...