# Best way to monitor elasticsearch performance

**URL:** <https://discuss.elastic.co/t/best-way-to-monitor-elasticsearch-performance/81412>\
**Category:** Elasticsearch\
**Created:** [April 6, 2017, 6:01am UTC](https://discuss.elastic.co/t/best-way-to-monitor-elasticsearch-performance/81412 "2017-04-06T06:01:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [April 6, 2017, 6:01am UTC](https://discuss.elastic.co/t/best-way-to-monitor-elasticsearch-performance/81412/1 "2017-04-06T06:01:48Z")

</div>

Hi,  
I want to monitor ES performance. What is the best way to do it?

I want

**1.Monitoring of:**

- RAM used by ES
- Heap used by ES
- CPU percent
- number of open files
- max file descriptors
- Total index
- Active primary shards

And so on.......!  
What is best way to monitor this?

**2. Alerting**  
I also wish to have email alerts on these parameters and few more parameters from stats API. How can I do that? Do I need to use some other tool?

br,  
Sunil.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 6, 2017, 7:31am UTC](https://discuss.elastic.co/t/best-way-to-monitor-elasticsearch-performance/81412/2 "2017-04-06T07:31:23Z")

</div>

1/ Use xpack basic license  
2/ Use xpack gold license or more. Or create a cron job which runs a query every x minutes on .monitoring\* indices. And monitor your cron job 🙂

My 2 cents

---

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [April 6, 2017, 9:22am UTC](https://discuss.elastic.co/t/best-way-to-monitor-elasticsearch-performance/81412/3 "2017-04-06T09:22:55Z")

</div>

Hi David,  
Thanks for the solution and sorry for cents. ☹  
I need to save those for the license 🙂

---

<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:** [May 4, 2017, 9:23am UTC](https://discuss.elastic.co/t/best-way-to-monitor-elasticsearch-performance/81412/4 "2017-05-04T09:23:13Z")

</div>

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