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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...