# Is there an API to get the read and write performance data?

**URL:** <https://discuss.elastic.co/t/is-there-an-api-to-get-the-read-and-write-performance-data/267642>\
**Category:** Elasticsearch\
**Created:** [March 18, 2021, 11:11am UTC](https://discuss.elastic.co/t/is-there-an-api-to-get-the-read-and-write-performance-data/267642 "2021-03-18T11:11:22Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [March 18, 2021, 11:11am UTC](https://discuss.elastic.co/t/is-there-an-api-to-get-the-read-and-write-performance-data/267642/1 "2021-03-18T11:11:22Z")

</div>

ES version: 6.3.0

My ES cluster block sometimes when perform search and bulk operations, but the cluster status is green, it is strange.

The `cat.thread_pool` api can output some related info, but i do not know how to determine the abnormal status.

```auto
node_name name active queue rejected
m-21-63 analyze 0 0 0
m-21-63 fetch_shard_started 0 0 0
m-21-63 fetch_shard_store 0 0 0
m-21-63 flush 0 0 0
m-21-63 force_merge 0 0 0
m-21-63 generic 1 0 0
m-21-63 get 0 0 0
m-21-63 index 0 0 0
m-21-63 listener 0 0 0
m-21-63 management 1 0 0
m-21-63 ml_autodetect 0 0 0
m-21-63 ml_datafeed 0 0 0
m-21-63 ml_utility 0 0 0
m-21-63 refresh 0 0 0
m-21-63 rollup_indexing 0 0 0
m-21-63 search 1 0 1946236
m-21-63 security-token-key 0 0 0
m-21-63 snapshot 0 0 0
m-21-63 warmer 0 0 0
m-21-63 watcher 0 0 0
m-21-63 write 0 0 12383

```

Is there a proper way to get or compute the performance information?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 22, 2021, 1:41am UTC](https://discuss.elastic.co/t/is-there-an-api-to-get-the-read-and-write-performance-data/267642/2 "2021-03-22T01:41:40Z")

</div>

Do you have Monitoring enabled?

---

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [March 22, 2021, 11:57am UTC](https://discuss.elastic.co/t/is-there-an-api-to-get-the-read-and-write-performance-data/267642/3 "2021-03-22T11:57:53Z")

</div>

Yes, i can see the monitor page.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 22, 2021, 9:39pm UTC](https://discuss.elastic.co/t/is-there-an-api-to-get-the-read-and-write-performance-data/267642/4 "2021-03-22T21:39:10Z")

</div>

What does it show when this behaviour happens? High GC, threadpool use, memory/CPU use?

---

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [March 23, 2021, 1:57am UTC](https://discuss.elastic.co/t/is-there-an-api-to-get-the-read-and-write-performance-data/267642/5 "2021-03-23T01:57:46Z")

</div>

I just can see the cup/memory/disk and search/index rate.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/c/3c570b4b72eb30564f7eefced162b1f25861f306.png)

Where is the GC and thread pool info?

---

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [March 23, 2021, 6:15am UTC](https://discuss.elastic.co/t/is-there-an-api-to-get-the-read-and-write-performance-data/267642/6 "2021-03-23T06:15:03Z")

</div>

Maybe I can not see these info because the basic license?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 23, 2021, 8:32am UTC](https://discuss.elastic.co/t/is-there-an-api-to-get-the-read-and-write-performance-data/267642/7 "2021-03-23T08:32:50Z")

</div>

Check out [View monitoring data in Kibana | Kibana Guide [7.11] | Elastic](https://www.elastic.co/guide/en/kibana/7.11/monitoring-data.html)

---

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [March 23, 2021, 9:39am UTC](https://discuss.elastic.co/t/is-there-an-api-to-get-the-read-and-write-performance-data/267642/8 "2021-03-23T09:39:49Z")

</div>

My ES and Kibana version is 6.3.0, and I do not use metric beat.

I have two cluster, and I have compare the two versions, 6.3 and 7.11, there is no GC and thread pool info both of them.

Did I miss anything?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 23, 2021, 8:54pm UTC](https://discuss.elastic.co/t/is-there-an-api-to-get-the-read-and-write-performance-data/267642/9 "2021-03-23T20:54:12Z")

</div>

6.3 has been [EOL](https://www.elastic.co/support/eol) for quite some time, you should upgrade ASAP.

In 7.11 you need to go to Stack Monitoring \> choose your cluster \> Nodes \> pick your node, then you will see GC.

---

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [March 24, 2021, 8:43am UTC](https://discuss.elastic.co/t/is-there-an-api-to-get-the-read-and-write-performance-data/267642/10 "2021-03-24T08:43:45Z")

</div>

Thanks a lot. I find the GC graph.

And how do I get the thread pool info and something else about performance...by an 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:** [April 21, 2021, 8:44am UTC](https://discuss.elastic.co/t/is-there-an-api-to-get-the-read-and-write-performance-data/267642/11 "2021-04-21T08:44:04Z")

</div>

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