Splunk Search

Use Dynamic Float Value with DBSCAN

Deniz_Oe
Explorer

Dear all! 

I am trying to use a dynamic value for my epsilon in the MLTK in Splunk:

 

map search="search index = cisco_prod 
| timechart span=1h count as logins_hour 
| timewrap w series=short| fields - logins_hour_s6|table logins_hour_s*|transpose 0| fit DBSCAN  \"row *\"  eps=$eps$"

 

 This doesn't return anything if eps is a float, only when I first round the dynamic variable.

However if I run the same search with a static float value for eps instead of my variable, it returns the clustering I am looking for.

Has anyone an idea what's wrong with my dynamic search? 

Thanks! 

0 Karma
Get Updates on the Splunk Community!

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...