I know this has been asked, but ELK seems to be changing very rapidly and maybe something is possible at this point. So, I'm using Kibana 4 and I'm trying to visualize (or at least calculate) time difference between two docs in the query. My docs are logs from batch process with lot of fields and timestamp is one of them (of the type "date"). Would it be possible to calculate time difference between consecutive docs in the query using a scripted field? (doesn't really matter what type will be returned).
I hope I made sense, I'm new to ELK. Thanks in advance.
Dauta