Calculate two timestamps difference using uniqueid in elasticsearch query


(ssh) #1

hi elk team,

is it possible to calculate two timestamps difference using uniqueid in elasticsearch query?

many thanks!!


(Bardie) #2

Yes it is


(ssh) #3

could you share me sample ?


(Bardie) #4

I am assuming you want to extract a timestamp from elasticsearch using a unique id and compare it to your current timestamp.


(ssh) #5

subtract two dates by id


(system) #6

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