On either Splunk 6.4.3 or Splunk 6.5, I have both the latest Machine Learning Toolkit 2.0 and Scientific Python 1.2.
The apps are enabled, I am admin, the permissions are good.
Splunk search that fails:
index=main | fit
Error:
Error in 'fit' command: Failed to find Python for Scientific Computing Add-on (Splunk_SA_Scientific_Python_linux_x86_64)
splunkd.log says:
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr: Traceback (most recent call last):
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr: File "/opt/splunk/etc/apps/Splunk_ML_Toolkit/bin/cexc/__init__.py", line 127, in run
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr: while self._handle_chunk():
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr: File "/opt/splunk/etc/apps/Splunk_ML_Toolkit/bin/cexc/__init__.py", line 254, in _handle_chunk
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr: ret = self.handler(metadata, body)
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr: File "/opt/splunk/etc/apps/Splunk_ML_Toolkit/bin/cexc/__init__.py", line 326, in handler
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr: raise RuntimeError(self.msg)
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr: RuntimeError: Failed to find Python for Scientific Computing Add-on (Splunk_SA_Scientific_Python_linux_x86_64)
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - Error in 'fit' command: Failed to find Python for Scientific Computing Add-on (Splunk_SA_Scientific_Python_linux_x86_64)
The error message indicates the Python for Scientific Computing Add-on is not installed properly.
Can you double check the app installation, specifically:
You may need to reinstall PSC and restart Splunk.
The error message indicates the Python for Scientific Computing Add-on is not installed properly.
Can you double check the app installation, specifically:
You may need to reinstall PSC and restart Splunk.
Thanks! Yes we have 64 bit Linux but I had called the app dir Splunk_SA_Scientific_Python_linux and not Splunk_SA_Scientific_Python_linux_x86_64.
I renamed the dir to the correct _x86_64, restarted Splunk and the error went away.
Thanks yangzd!
I'm facing the same error. Also in my case, the name of the folder is correct as mentioned above. Using MLT 3.0 & PSC 1.2. Have done uninstall and splunk restart several times - no help.
Error in 'fit' command: External search command exited unexpectedly. getting same error.
me too and the name is correct.
Awesome. You are very welcome!