Splunk Enterprise Security

Problem to use ML toolkit "apply" command in ES correlation search

sonny_monti
Path Finder

I want to use a ML toolkit trained model in Enterprise security.

To do this I want to use the "apply" command in a correlation search, which should use the trained model.

THe model is shared globally, the "apply" command is also shared globally.

When I save the new correlation search I get an error that says that the "apply" command was not found.

Any Idea why this happens?

0 Karma
1 Solution

sonny_monti
Path Finder

I drilled down in splunk answers and i found This anwer from muebel.
https://answers.splunk.com/answers/509868/commands-not-usable-from-enterprise-security.html
The answer from muebel resolved my problem.
ES has a modular input to control what is allowed in the app context. Just add the ML toolkit in the allowed imports.

View solution in original post

0 Karma

kchamplin_splun
Splunk Employee
Splunk Employee

ES, on versions prior to 5.3, used a feature called "app imports". You need to add the app's name (as it appears on disk in etc/apps) to the app imports regex - documentation is here:
https://docs.splunk.com/Documentation/ES/5.2.2/Install/ImportCustomApps#Import_add-ons_with_a_differ...

This is also documented with Enterprise Security Content Updates:
https://docs.splunk.com/Documentation/ESSOC/1.0.38/user/ConfigureMLTKforusewithES

sonny_monti
Path Finder

I drilled down in splunk answers and i found This anwer from muebel.
https://answers.splunk.com/answers/509868/commands-not-usable-from-enterprise-security.html
The answer from muebel resolved my problem.
ES has a modular input to control what is allowed in the app context. Just add the ML toolkit in the allowed imports.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...