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!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...