I feel i'm so close, but can't quite make it work. I've tried map and am now trying a sub search (I think it's a sub search). I'm trying to get the time difference between two events, but now using the "_time" field, instead using a timestamp field of my own. My events look something like this { action: "start", correlationId:"_GUID_", timestamp: "2021-07-13T03:44:46.100Z" } { action: "end", correlationId:"_GUID_", timestamp: "2021-07-13T03:44:46.260Z" } And my query so far is index=* action=start | eval start_time=timestamp | join correlationId [ search index=action=end | eval end_time=timestamp ] | eval timeTaken=end_time-start_time But timeTaken is never populated. It seams my `timestamp` field has a "none" in it as well as a timestamp, but i'm not sure why as the raw text does not have any spaces or anything. I also tried a selfjoin, that overwrite the first `timestamp` with the second one, and a map, which came back with no results.
... View more