Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Forecast Time series

$
0
0
Hi Ninjas, I have a query that looks like this: sourcetype="x" index=y source="z" host="S" | bin _time span=10m | stats dc(CN) as Actual by _time | lookup CN_Forecast_S.csv _time OUTPUT lowerBound pred upperBound | eval isOutlierLow=if(Actual < lowerBound , abs(Actual-lowerBound)/lowerBound, 0) | eval isOutlierHigh=if(Actual > upperBound, abs(Actual-upperBound)/upperBound, 0) | eval isOutlier=if(Actual < lowerBound OR Actual > upperBound, abs(Actual)/abs(upperBound-lowerBound), 0) | fields _time, Actual, lowerBound, pred, upperBound, isOutlier, isOutlierLow, isOutlierHigh The **CN_Forecast_S.csv** is a lookup file generated by a savedsearch that predict +2days of data. The problem is my query display data until "now" only and I would like to show data for the rest +xdays that I already have predicted in the same graph. I tried to specify `lastest=+2d@d` , but that didn't work That's the result of my query ![alt text][1] Thank you in advance. [1]: /storage/temp/253575-predict.png

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>