Search commands for machine learning safeguards
The Splunk platform contains search processing language (SPL) safeguards to warn you when you might unknowingly run a search in Splunk Web that has commands that can modify the model, and might be either a security or a performance risk. If a search command that Splunk classifies as risky triggers the safeguard, a warning dialog box appears to provide extra context for review, as well as the option to accept the risk and run the query anyway.
The fit, deletemodel, ai , and aiagent commands are considered as risky. When using the fit, deletemodel, ai, and aiagent commands, you might see security warning messages.
Example 1
Example 2
The following are scenarios under which this warning can appear:
- When the
fit,deletemodel, oraicommand is run for the first time after logging into the system with a URL. - When you refresh the page or log back in with the URL.
- When you use the Open in Search option in the AI Toolkit.
-
When you use the Open in Search option to invoke an agent in the AI Toolkit which uses the
aiagentcommand. - When viewing certain Showcase examples.
The fit, deletemodel, ai, and aiagent commands are not core Splunk search commands, and are only provided when the AI Toolkit is installed. You can follow the same steps for core search commands if you want to prevent the safeguard warning messages. See, Deactivate SPL safeguards in the Splunk Enterprise manual.