# Calculate time difference between two logs linking with sameid

**URL:** <https://discuss.elastic.co/t/calculate-time-difference-between-two-logs-linking-with-sameid/149043>\
**Category:** Elasticsearch\
**Created:** [September 19, 2018, 2:45am UTC](https://discuss.elastic.co/t/calculate-time-difference-between-two-logs-linking-with-sameid/149043 "2018-09-19T02:45:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shwesinhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shwesinhan/32/78663_2.png) [@shwesinhan](https://discuss.elastic.co/u/shwesinhan)\
**Post date:** [September 19, 2018, 2:45am UTC](https://discuss.elastic.co/t/calculate-time-difference-between-two-logs-linking-with-sameid/149043/1 "2018-09-19T02:45:22Z")

</div>

hi there

is there anyway to calculate time difference between two logs with same id?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 17, 2018, 2:45am UTC](https://discuss.elastic.co/t/calculate-time-difference-between-two-logs-linking-with-sameid/149043/2 "2018-10-17T02:45:24Z")

</div>

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