Hello @ITWhisperer, Thank you for your response and for sharing your inputs and questions. I will try to describe the original task and hopefully in the process will be able to answer your questions. I have a lookup file with two fields: fieldA, fieldB. The lookup file has distinct pairs of fieldA and fieldB. I have an index and I need to run predict command to calculate event count for each pair of fieldA and fieldB listed in lookup file to forecast the value of last day by taking historical data of last 1 month span by a day. As the result, the query I used to compute the timeseries data for giving input to predict command is a timechart command. I have to store the resulting forecasted value in the lookup for respective pairs of fieldA and fieldB. Then use the lookup for reading the its data in the dashboard and also display the actual value of event count for each distinct pair of fieldA and fieldB for comparison. The approach I tried so far: - I tried to read the data from lookup file for each row, build the SPL for each row that uses timechart command to fetch timeseries data, then use it in predict command to compute the forecasted value; finally stored the SPL for each lookup in the third column of the lookup. The approach was to first build the required SPL for each row of unique pairs and then iteratively run the SPL from the lookup to compute the required values. However, I got stuck in reading the SPLs and storing their values back in the lookup. I will now try to answer your specific questions: - Ideally, I would want to execute these searches in one main search or iteratively get executed in the main search. With regards to error in one of the SPL searches, the error is not anticipated because the search conditions and SPL keywords are same, only the values change based on the row that is currently being accessed in the lookup file. The lookup file more or less may have fixed number of rows but it will periodically get updated by a different search that refreshes its data. The SPL searches are complete search which can be executed independently on the search head to compute the predicted values. Please share if you need any more details from my end for seeking your inputs. Thank you
... View more