Hello, In this topic, Get time elapsed between two different documents (now locked), it is indicated that Scripted Fields can help with this. However, elsewhere I've seen it mentioned that scripted fields only allow field comparisons between fields within the same document.
Can someone please clarify if this is possible? If not, any recommendations that would allow this?
One thought I had was to create a new document which contained the relevant fields from the earlier documents, any thoughts or recommendations for doing so?
Use case:
Document 1: Application started, user id, session id, timestamp this occured
Document 2: Application exited, user id, session id, timestamp this occured
Objective: Calculate time between these documents, later create graphs to look at average session duration, etc.
Thank you!