All Apps and Add-ons

How to reuse the model when it is saved

jcvytla
New Member

I have build a outlier model. I wanted to re-use it. When I go to models and I could just see them ,but couldn't reuse them. Could you please throw some light around it.

0 Karma

aljohnson_splun
Splunk Employee
Splunk Employee

Models in the Splunk Machine Learning Toolkit are created by the fit command with an into clause. For example:

| fit LineareRegression y from x into my_model

will create a model called my_model that you can then use the with apply command:

| apply my_model

On the models page - you are only looking at these models. They are stored as lookups in Splunk.

However, the outlier detection assistant doesn't create models in the technical sense (as lookup files) - rather, the search is all that is needed to replicate the results. When you are in the assistant, you can click on some of the buttons like "Show SPL" or "Open in Search" to see what the underlying search might look like.

Hope that helps 🙂

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...