Splunk Enterprise

Splunk Machine Learning Toolkit: Density Function

Nick102
New Member

Hi, I'm trying to use the density function to detect anomalous logins compared to normal user usage.
I use the fit command like this

Nick102_0-1764605724215.png

and the apply command like this

Nick102_1-1764605752894.png

The result is the following

Nick102_2-1764605917765.png

I can't figure out why the log_likelihood anomaly_score columns aren't populated.

thank you for your help

Labels (1)
0 Karma

tscroggins
Influencer

Hi @Nick102,

The DensityFunction algorithm has output fields IsOutlier(field), which can be renamed as part of the apply command, and BoundaryRanges.

Are you working from a specific example or reading documentation where a log_likelihood field is referenced?

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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