Splunk Search

Linear Regression in Splunk predict by Date

sndpgiri
Engager

I want to predict Stock price and use Date as Fields to use for predicting, I am getting bad model. Is it I need to change the date to numeric? If so, how do i do it?

Labels (4)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Use the strptime() function to convert a string to epoch datetime

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...