Kibana - Calculate range of time like hours

I would like to know how to calculate dates inside Kibana, for example, (end_date - start_date),
How long does it take for a driver to get from city A to city B?
is possible to do this calculation inside Query DSL and extract hours to compare hours.

You can have a look into runtime fields. That helps to calculate the time diff between two date fields within the same document.

1 Like

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