# How to visualise cpu usage out of 100%

**URL:** https://discuss.elastic.co/t/how-to-visualise-cpu-usage-out-of-100/141179
**Category:** Kibana
**Created:** [July 23, 2018, 12:40pm UTC](https://discuss.elastic.co/t/how-to-visualise-cpu-usage-out-of-100/141179 "2018-07-23T12:40:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mitom](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mitom/32/33065_2.png) [@mitom](https://discuss.elastic.co/u/mitom)
#### Post date: [July 23, 2018, 12:40pm UTC](https://discuss.elastic.co/t/how-to-visualise-cpu-usage-out-of-100/141179/1 "2018-07-23T12:40:30Z")

</div>

Hi,

While trialing the elastic stack I noticed that some of my servers report above 100% cpu usage. After looking around I concluded this is because the scale for some reason is not 0-100%, but 0-cpu\_cores\*100% (which honestly feels very wrong). What I am wondering about is what are the options when one actually wants to work on the assumption that 100% is the maximum an instance can use?

 ![36](https://us1.discourse-cdn.com/elastic/original/3X/a/0/a0b5cd55d204e8e151b56fe3360b7d810ade2f30.png)

The interface does not give any help. I assume I could just put in something like system.cpu.total.pct/system.cpu.cores as field, but that's not happening. I notice there is the advanced options button, but that once again does not point me towards anything helpful (not even the help tooltip).

Is there documentation on what the advanced options are? Some sort of reference instead of a "here is 1 example of what you can do here"?  
Is there a way to just build a simple timeline that scales the usage to be between 0 and 100 without having to pre-process the data to actually have that value?  
Is there a way to change the metricbeat configuration to actually report between 0 and 100? What even is the point of reporting in an un-normalised range and calling it percentage?

Thank you,

Tamas

---

<div class="post-metadata">

### Author: ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)
#### Post date: [July 24, 2018, 10:50pm UTC](https://discuss.elastic.co/t/how-to-visualise-cpu-usage-out-of-100/141179/2 "2018-07-24T22:50:12Z")

</div>

You could create a scripted field from system.cpu.total.pct/system.cpu.cores. Have you created scripted fields before?

---

<div class="post-metadata">

### Author: ![mitom](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mitom/32/33065_2.png) [@mitom](https://discuss.elastic.co/u/mitom)
#### Post date: [July 25, 2018, 10:52am UTC](https://discuss.elastic.co/t/how-to-visualise-cpu-usage-out-of-100/141179/3 "2018-07-25T10:52:44Z")

</div>

Thank you, I was not aware of the option, but got it to work now.

As a follow-up question - which is probably not related to Kibana: there are a lot of warnings for the performance implications of scripted fields and as I understand it these get computed at search time. Is there a better or more efficient way to achieve this?

---

<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: [August 22, 2018, 10:52am UTC](https://discuss.elastic.co/t/how-to-visualise-cpu-usage-out-of-100/141179/4 "2018-08-22T10:52:46Z")

</div>

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