# How many users are accessing elasticsearch at any given moment

**URL:** https://discuss.elastic.co/t/how-many-users-are-accessing-elasticsearch-at-any-given-moment/54387
**Category:** Elasticsearch
**Created:** [June 30, 2016, 10:07am UTC](https://discuss.elastic.co/t/how-many-users-are-accessing-elasticsearch-at-any-given-moment/54387 "2016-06-30T10:07:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Karambir.Singh](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@Karambir.Singh](https://discuss.elastic.co/u/Karambir.Singh)
#### Post date: [June 30, 2016, 10:07am UTC](https://discuss.elastic.co/t/how-many-users-are-accessing-elasticsearch-at-any-given-moment/54387/1 "2016-06-30T10:07:41Z")

</div>

Hi,

I am new to ELK stack and I employed this for log managment for my current project. As per my new requirement, I wanted to know that at a give moment, how many users are accessing elasticsearch or how many request are getting submitted to query data on running elasticsearch instance. Please note that I am not interested to know all requests, only read requests and not write requests.

Is elasticsearch exposing any REST API for above mentioned requirement?

Thanks in advance.

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [July 4, 2016, 8:23am UTC](https://discuss.elastic.co/t/how-many-users-are-accessing-elasticsearch-at-any-given-moment/54387/2 "2016-07-04T08:23:59Z")

</div>

Hey,

you can check the node indices stats to see the currently open search contexts and how much time has been spent searching, that might help.

See [https://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-nodes-stats.html](https://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-nodes-stats.html)

--Alex

---

<div class="post-metadata">

### Author: ![Karambir.Singh](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@Karambir.Singh](https://discuss.elastic.co/u/Karambir.Singh)
#### Post date: [July 12, 2016, 8:57am UTC](https://discuss.elastic.co/t/how-many-users-are-accessing-elasticsearch-at-any-given-moment/54387/3 "2016-07-12T08:57:11Z")

</div>

I am interested to know how many read requests are being made to running elasticsearch node at any given point of time. I explored the reference document link that you provided but could not figure out required info, its giving some stats. Can you please explain how to get required info from stat data using: `_nodes/stats` REST API.

---

<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 5, 2017, 10:36pm UTC](https://discuss.elastic.co/t/how-many-users-are-accessing-elasticsearch-at-any-given-moment/54387/4 "2017-07-05T22:36:20Z")

</div>


