I struggled with the absence of the mvmap function in Splunk before version 8 as well. This is not exactly pretty, but then again, what is. | makeresults | eval Interval = "0,15,30,60,300,3600", Scores = "5,4,3,2,1,0", MedDelta = "100"
| eval Interval=split(Interval,","), Scores=split(Scores,",")
| eval Score = 0
| foreach 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [| eval debug_Interval_<<FIELD>> = mvindex(Interval, <<FIELD>>), debug_Scores_<<FIELD>> = mvindex(Scores, <<FIELD>>) | eval Score = if(MedDelta > debug_Interval_<<FIELD>>, debug_Scores_<<FIELD>>, Score)]
| fields - debug_* What this does is basically create a column for each of your possible intervals and scores, and simply compare the value in MedDelta to each one. Depending on the maximum number of Intervals, you might have to add more numbers to the foreach loop.
... View more