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!

Stay Connected: Your Guide to February Tech Talks, Office Hours, and Webinars!

💌 Keep the new year’s momentum going with our February lineup of Community Office Hours, Tech Talks, ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Incident Response: Reduce Incident Recurrence with Automated Ticket Creation

Culture extends beyond work experience and coffee roast preferences on software engineering teams. Team ...