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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...