# How to find which user is sending the query for my ES cluster?

**URL:** https://discuss.elastic.co/t/how-to-find-which-user-is-sending-the-query-for-my-es-cluster/77691
**Category:** Elasticsearch
**Created:** [March 7, 2017, 3:53pm UTC](https://discuss.elastic.co/t/how-to-find-which-user-is-sending-the-query-for-my-es-cluster/77691 "2017-03-07T15:53:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Yaswanth](https://avatars.discourse-cdn.com/v4/letter/y/94ad74/32.png) [@Yaswanth](https://discuss.elastic.co/u/Yaswanth)
#### Post date: [March 7, 2017, 3:53pm UTC](https://discuss.elastic.co/t/how-to-find-which-user-is-sending-the-query-for-my-es-cluster/77691/1 "2017-03-07T15:53:14Z")

</div>

HI,

I have ES 2.4.1 cluster with 3 nodes, i want to enable the slow queries in slow queries i can able to get the queries that are send my users to my ES server and also at the same time i want to know which user is sending that query.

Is this possible in ES ?  
Do i need enable any settings in template or index level to achieve this ?

Thanks

---

<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: [April 4, 2017, 3:53pm UTC](https://discuss.elastic.co/t/how-to-find-which-user-is-sending-the-query-for-my-es-cluster/77691/2 "2017-04-04T15:53:43Z")

</div>

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