did you tried below query with sample data-
|makeresults|eval ComputerName ="abc", Events ="200"
|append[|makeresults|eval ComputerName ="bcd", Events ="100"]
|append[|makeresults|eval ComputerName ="fcd", Events ="200"]
|append[|makeresults|eval ComputerName ="def", Events ="300"]|sort - Events | streamstats current=f window=1 values(Events) as prev | eval Rank=if(prev=Events,0,1) | accum Rank
Here Events has 200 value twice and Rank assigned for these two events is 2 for both.
If still it is not working then please share your query.
... View more