# Elasticsearch monitor Esearch query sent to Elasticsearch cluster

**URL:** https://discuss.elastic.co/t/elasticsearch-monitor-esearch-query-sent-to-elasticsearch-cluster/109200
**Category:** Elasticsearch
**Created:** [November 27, 2017, 10:43am UTC](https://discuss.elastic.co/t/elasticsearch-monitor-esearch-query-sent-to-elasticsearch-cluster/109200 "2017-11-27T10:43:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Prashant\_Agrawal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prashant_agrawal/32/74982_2.png) [@Prashant\_Agrawal](https://discuss.elastic.co/u/Prashant_Agrawal)
#### Post date: [November 27, 2017, 10:43am UTC](https://discuss.elastic.co/t/elasticsearch-monitor-esearch-query-sent-to-elasticsearch-cluster/109200/1 "2017-11-27T10:43:04Z")

</div>

Hi All,  
Is there a way where we can monitor the elastic search query along with the user details.  
We have the cluster running with xpack and wanted to log the search request along with user details so as to know which user is searching what (As they do all searches mostly via kibana or their own programs), and this also will lead us to do the query profiling and optimize the query in case user's query are not up to the mark.

---

<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: [December 25, 2017, 10:43am UTC](https://discuss.elastic.co/t/elasticsearch-monitor-esearch-query-sent-to-elasticsearch-cluster/109200/2 "2017-12-25T10:43:18Z")

</div>

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