Splunk® Machine Learning Toolkit

User Guide

Acrobat logo Download manual as PDF


This documentation does not apply to the most recent version of Splunk® Machine Learning Toolkit. For documentation on the most recent version, go to the latest release.
Acrobat logo Download topic as PDF

Upgrade the Splunk Machine Learning Toolkit

Requirements

The Splunk Machine Learning Toolkit requires the Python for Scientific Computing add-on. After upgrading the Splunk Machine Learning Toolkit app, you will receive a message indicating if you need to update the Python for Scientific Computing add-on to a newer version in order to support the version of the Splunk Machine Learning Toolkit you upgraded to. If you do not receive this message when you run the Splunk Machine Learning Toolkit after upgrading, you do not need to upgrade the Python for Scientific Computing add-on.

Any algorithms that have been imported from the Python for Scientific Computing add-on into the Splunk Machine Learning Toolkit are overwritten when the Splunk Machine Learning Toolkit app is updated to a new version. Prior to upgrading the Splunk Machine Learning Toolkit, save your custom algorithms and re-import them manually after the upgrade. Algorithms are stored in $SPLUNK_HOME/etc/apps/Splunk_ML_Toolkit/bin/algos on Unix-based systems and %SPLUNK_HOME%\etc\apps\Splunk_ML_Toolkit\bin\algos on Windows systems.

Splunk Cloud deployments

For Splunk Cloud trial, self-service Splunk Cloud, or Managed Splunk Cloud, open a ticket with support and request the Python for Scientific Computing add-on and Machine Learning Tooklit app be upgraded to the latest version for you.

Splunk Enterprise deployments

Single instance deployment

Upgrade the Splunk Machine Learning Toolkit app on your single instance Splunk Enterprise.

If a newer version of the Python for Scientific Computing add-on is required for the newer version of the Splunk Machine Learning Toolkit, a message will display when you run the Splunk Machine Learning Toolkit after the upgrade instructing you to install a newer version of the Python for Scientific Computing add-on.

To update an app or add-on in Splunk Web

  1. In Splunk Web, click the Update option on the app icon in the left-hand Apps bar.
    The Update option appears when a new version of an app is available on Splunkbase.


Alternatively, you can do the following:

  1. Download the latest version of the app from Splunkbase.
  2. In Splunk Web, click on the gear icon next to Apps in the left navigation bar.
  3. On the Apps page, click Install app from file.
  4. Click Choose File, navigate to and select the package file for the app or add-on, then click Open.
  5. Check the Upgrade app box.
  6. Click Upload.


To update an existing app on your Splunk instance using the CLI

Run the following from the command line.

Unix/Linux:

./splunk install app <app_package_filename> -update 1 -auth <username>:<password>

Windows:

splunk install app <app_package_filename> -update 1 -auth <username>:<password>

Alternatively, unpack/unzip the file then copy the app directory to $SPLUNK_HOME/etc/apps on Unix based systems or %SPLUNK_HOME%\etc\apps on Windows systems.

Distributed deployment

In a distributed deployment of Splunk Enterprise, update the Splunk Machine Learning Toolkit, and Python for Scientific Computing add-on if necessary, on every Splunk instance where the application is installed. The Python for Scientific Computing and the Splunk Machine Learning Toolkit should be installed on all search heads where the Splunk Machine Learning Toolkit is used.

If Python for Scientific Computing is installed on your indexers in order to use the distributed apply feature of the Splunk Machine Learning Toolkit, you need to update the Python for Scientific Computing add-on on your indexers as well as your search heads if an update is required. If an update for Python for Scientific Computing is required, you will receive a message indicating this when you run the Splunk Machine Learning Toolkit after upgrading. For information about the distributed apply feature, see Use your indexers to apply models.

If you use search head clusters or indexer clusters, use the deployment methodology of your choice to make the updates.

Last modified on 10 July, 2018
PREVIOUS
Install the Splunk Machine Learning Toolkit
  NEXT
Using the Splunk Machine Learning Toolkit

This documentation applies to the following versions of Splunk® Machine Learning Toolkit: 2.3.0, 2.4.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0


Was this documentation topic helpful?


You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters