Associate events with a common field (in order to obtain duration, throughput, ...)

Unfortunately, there does not appear to be an aggregation in Elasticsearch that can compute duration between documents. So there is no way to do this in Kibana.

Computing the duration as a field in the document (such as using the elapsed function in Logstash) is the best way to do this.

There is more background information in this thread. How to find correlated messages and time between them