# Cannot see user "id" in slowlogs (X-Opaque-ID)

**URL:** <https://discuss.elastic.co/t/cannot-see-user-id-in-slowlogs-x-opaque-id/239555>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [July 2, 2020, 12:15am UTC](https://discuss.elastic.co/t/cannot-see-user-id-in-slowlogs-x-opaque-id/239555 "2020-07-02T00:15:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AClerk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aclerk/32/55297_2.png) [@AClerk](https://discuss.elastic.co/u/AClerk)\
**Post date:** [July 2, 2020, 12:15am UTC](https://discuss.elastic.co/t/cannot-see-user-id-in-slowlogs-x-opaque-id/239555/1 "2020-07-02T00:15:48Z")

</div>

Hello  
According to [this post](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-slowlog.html#_identifying_search_slow_log_origin)

**Identifying search slow log origin**

> It is often useful to identify what triggered a slow running query. If a call was initiated with an `X-Opaque-ID` header, then the user ID is included in Search Slow logs as an additional **id** field (scroll to the right).

However,  
I can NOT find any records with "id" in them.  
Am I missing anything? Missing parameter/configuration?

Or in other words  
How to identify which user run the query in slowlog records?

Cheers! ✈

---

<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:** [July 30, 2020, 12:15am UTC](https://discuss.elastic.co/t/cannot-see-user-id-in-slowlogs-x-opaque-id/239555/2 "2020-07-30T00:15:51Z")

</div>

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