# Finding the parent id/ session id of an activity (logs)

**URL:** <https://discuss.elastic.co/t/finding-the-parent-id-session-id-of-an-activity-logs/279091>\
**Category:** Kibana\
**Created:** [July 19, 2021, 4:17pm UTC](https://discuss.elastic.co/t/finding-the-parent-id-session-id-of-an-activity-logs/279091 "2021-07-19T16:17:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NoviceESCoder](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@NoviceESCoder](https://discuss.elastic.co/u/NoviceESCoder)\
**Post date:** [July 19, 2021, 4:17pm UTC](https://discuss.elastic.co/t/finding-the-parent-id-session-id-of-an-activity-logs/279091/1 "2021-07-19T16:17:15Z")

</div>

Is there a way to find parent id/session id that measures from the start to the end of an activity in Elasticsearch. I was reading up on [spans](https://www.elastic.co/guide/en/apm/get-started/current/transaction-spans.html) and how they can help with this. However, besides using APM, does elasticsearch offer an API or when reading the logs that were sent to elasticsearch, is there a specific id that will help co-relate the activity? As in a co-relate id of some sort. I am using NET application.

---

<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:** [August 16, 2021, 4:17pm UTC](https://discuss.elastic.co/t/finding-the-parent-id-session-id-of-an-activity-logs/279091/2 "2021-08-16T16:17:42Z")

</div>

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