How to calculate session durations?

Here is the table I created to show the max and min value of each session.
I want to know the duration of each session, which is calculated by max-min.
How could I do that?

You can create a custom field for calculating the time difference using the painless script. There is an example available at https://www.elastic.co/blog/using-painless-kibana-scripted-fields

1 Like

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