All Apps and Add-ons

Help with multiple series forecasting

winknotes
Path Finder

I've read a few posts here related to this topic but can't find a workable solution.  

I have 200+ devices that I want to forecast Write Response Time for each device out 30 days.  My initial query to gather the data from a metric index is in a lookup table.  So I've tried this based on another similar post but I don't get any data for the predict command:

 

| inputlookup eg.csv
| dedupe device_name
| map maxsearches=5 search=" | inputlookup eg.csv | search device=$device_name$ | timechart span=1d avg(WriteRT) as avgWriteRT | predict avgWriteRT future_timespan=30 | eval device=$device_name$"
| table _time, WriteRT, "prediction(WriteRT)", device

 

I suspect it has something to do with 'search device=$device_name$' but unsure what that might be.  Running the inputlookup up to the predict command does return results minus the device_name.  

Labels (1)
Tags (1)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...