# Find out who is running task

**URL:** https://discuss.elastic.co/t/find-out-who-is-running-task/379786
**Category:** Elasticsearch
**Tags:** elastic-stack-security
**Created:** [July 3, 2025, 5:47pm UTC](https://discuss.elastic.co/t/find-out-who-is-running-task/379786 "2025-07-03T17:47:08Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [July 7, 2025, 11:03am UTC](https://discuss.elastic.co/t/find-out-who-is-running-task/379786/2 "2025-07-07T11:03:58Z")

</div>

Hi @elasticforme,

This [older thread](https://discuss.elastic.co/t/how-to-identify-specific-users-who-are-submitting-slowlog-queries/312120) does share some examples, but the main thing is that you can track the source of requests using the [`X-Opaque-Id` HTTP header](https://www.elastic.co/guide/en/elasticsearch/reference/8.18/api-conventions.html#x-opaque-id) if you pass the information to Elasticsearch. That can then be accessed via things like the slow logs.

Hope that helps.

---

_[View the full topic](https://discuss.elastic.co/t/find-out-who-is-running-task/379786)._
