Splunk Enterprise

Splunk ML Toolkit - Why this error "External search command 'predict' returned error code 1" after upgrade?

FreelanceRob
Engager

Hi all,

I have a dashboard that uses the time series forecast from Splunk Machine Learning Toolkit. Until few weeks ago we were using it with Splunk 8.0.2 and ML Toolkit version 5.2.1 and it was working fine. After upgrading to Splunk 8.2.4 the "predict" command is returning the following error:

 

External search command 'predict' returned error code 1. .

 

I also tried to upgrade the ML Toolkit to version 5.3.1 which states to be compatible with Splunk 8.2.4 and with Python3 (I suppose this is the issue) but the error still occurs.

Here's my search:

 

index=myindex earliest=-5w@w latest=now 
| timechart span=10m count 
| predict "count" as prediction algorithm=LLP holdback=100 future_timespan=300 period=1008 upper75=upper75 lower75=lower75 
| `forecastviz(300, 100, "count", 75)`

 

Before the Splunk upgrade it was working correctly.

Anyone had the same issue after upgrading Splunk and can help me fix it? Thanks!

Labels (2)
0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...