# How to figure out memory usage by Kibana?

**URL:** https://discuss.elastic.co/t/how-to-figure-out-memory-usage-by-kibana/31505
**Category:** Kibana
**Created:** [October 1, 2015, 7:47pm UTC](https://discuss.elastic.co/t/how-to-figure-out-memory-usage-by-kibana/31505 "2015-10-01T19:47:43Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![parthu](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@parthu](https://discuss.elastic.co/u/parthu)
#### Post date: [October 1, 2015, 7:47pm UTC](https://discuss.elastic.co/t/how-to-figure-out-memory-usage-by-kibana/31505/1 "2015-10-01T19:47:43Z")

</div>

My assignment right now is to keep track of CPU and Heap usage by Kibana. How do I accomplish this? Can I force Kibana to run on JMX ports and later monitor those ports? Or can I build a dashboard on Kibana that shows me info about CPU and Heap consumption by Kibana.

I'd really appreciate ideas how to accomplish this.

Thanks,  
Tarun

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [October 1, 2015, 8:41pm UTC](https://discuss.elastic.co/t/how-to-figure-out-memory-usage-by-kibana/31505/2 "2015-10-01T20:41:37Z")

</div>

Kibana doesn't use much memory and CPU. It's basically just an API frontend to Elasticsearch. Monitoring its resource usage is hardly useful.

Since it's written in JavaScript you won't be able to use JMX.

---

<div class="post-metadata">

### Author: ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)
#### Post date: [October 2, 2015, 3:13am UTC](https://discuss.elastic.co/t/how-to-figure-out-memory-usage-by-kibana/31505/3 "2015-10-02T03:13:40Z")

</div>

Hi,

Here's how you can monitor Kibana: [http://blog.sematext.com/2015/05/27/monitoring-kibana-4s-node-js-app/](http://blog.sematext.com/2015/05/27/monitoring-kibana-4s-node-js-app/)

## Otis

Monitoring \* Alerting \* Anomaly Detection \* Centralized Log Management  
Elasticsearch Consulting & Support \* [http://sematext.com/](http://sematext.com/)

---

<div class="post-metadata">

### Author: ![parthu](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@parthu](https://discuss.elastic.co/u/parthu)
#### Post date: [October 2, 2015, 3:01pm UTC](https://discuss.elastic.co/t/how-to-figure-out-memory-usage-by-kibana/31505/5 "2015-10-02T15:01:50Z")

</div>

@otisg

Looks like it's a product we'll need to purchase. Am I correct?

---

<div class="post-metadata">

### Author: ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)
#### Post date: [October 2, 2015, 6:05pm UTC](https://discuss.elastic.co/t/how-to-figure-out-memory-usage-by-kibana/31505/6 "2015-10-02T18:05:43Z")

</div>

It depends! SPM has a free plan, too: [http://sematext.com/spm/#plans-and-pricing](http://sematext.com/spm/#plans-and-pricing) AND it's metered by the hour, so if you don't monitor something 24/7 for some reason (dev, staging, etc.) this reduces cost of paid plans.

Otis

---

<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 6, 2017, 2:12pm UTC](https://discuss.elastic.co/t/how-to-figure-out-memory-usage-by-kibana/31505/7 "2017-07-06T14:12:06Z")

</div>


