Splunk Search

Predict error in time chart

codedtech
Path Finder

I'm working on a query that predicts GB growth, I keep getting "command="predict", Unknown field after eval". Here is the query I'm using:
MyIndex|eval GB=BYTES/1024/1024/1024|timechart sum(GB) as Volume|predict GB as growth algorithm=LLP5 lower40=low upper40=high future_timespan=24

0 Karma

renjith_nair
Legend

@codedtech,

In your timechart you are adding GB field and creating field Volume. So use Volume field in your predict command

MyIndex|eval GB=BYTES/1024/1024/1024|timechart sum(GB) as Volume|predict Volume as growth algorithm=LLP5 lower40=low upper40=high future_timespan=24 
---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...