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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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