Difference between two fields based on a field value filter

Hi,I need to find the time difference between two fields from two different hits or events or _source .
For example.
Each hit contain a field @timestamp
OUR APPLIED FILTER (Based on question_id or _id)
which returns 20 hits.

So what I need is time difference between the 1st hit and 20th hit of the timestamp field.
(Similarly like transaction in splunk).

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.