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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...