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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...