So a simple rename will work.
source="rest://mls_number" | rename result{}.EventData.mlsnumber AS MLS_Number result{}.result AS Count
But, a caveat here is that the fields are multivalue and won't expand correctly. when you try to do stats on the mls numbers.
So after the search above, do this:
eval atmp = mvzip(MLS_Number,Count) | mvexpand atmp | eval a=split(atmp,",")|eval Count = mvindex(a,1)|eval MLS_Number=mvindex(a,0) | <other stats>
The other stats will allow you to do time based calculations by MLS_Number .
... View more