What is the best possible way to show time difference between two events in Elasticsearch?
Is it possible to add an additional field & show the time difference in that particular field
You can certainly modify your index schema in the way that works best for your search use case, using a time_elapsed
field or something like that.
You may also be interested in the range query which can search with date math. You can combine multiple range queries in a single bool query if you need to get a very specified time window.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.