@ITWhisperer : I'm able to write the query for the difference ..however I'm not able to map the difference with _time. Is this something you could help? I used the below query to get the difference as per the algorithm (D1,D2,D3 .. are difference, E as EventType T as _time) | sort by _time,AccountNumber | stats list(eventType) as E list(_time) as T by AccountNumber | eval T0=(mvindex(T,0)) | eval T1=(mvindex(T,1)) | eval D1=T1-T0 | fieldformat D1= strftime(D1,"%M:%S") | eval T2=(mvindex(T,2)) | eval T3=(mvindex(T,3)) | eval D2=T2-T1 | fieldformat D2= strftime(D2,"%M:%S") | eval T4=(mvindex(T,4)) | eval T5=(mvindex(T,5)) | eval D3=T3-T2 | fieldformat D3= strftime(D3,"%M:%S") --- | table AccountNumber E T D1 D2 D3 D4 D5 My resultes are showing like this AccountNumber E T D1 D2 D3 D4 D5 123456789 NewYork 1/1/2021:12:30 30:00 30:00 30:00 30:00 30:00 California 1/1/2021:01:00 Boston 1/1/2021:01:30 Houston 1/1/2021:02:00 Dallas 1/1/2021:02:30 I do not want the D1,D2,D3,D4,D5 Columns .. I want Difference Column Mapped with T (side by side)along with AccountNumber E T. Please help
... View more