# System.cpu.total.pct gauge per host.name

**URL:** <https://discuss.elastic.co/t/system-cpu-total-pct-gauge-per-host-name/152501>\
**Category:** Kibana\
**Created:** [October 15, 2018, 1:41pm UTC](https://discuss.elastic.co/t/system-cpu-total-pct-gauge-per-host-name/152501 "2018-10-15T13:41:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![keiranmraine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keiranmraine/32/36529_2.png) [@keiranmraine](https://discuss.elastic.co/u/keiranmraine)\
**Post date:** [October 15, 2018, 1:41pm UTC](https://discuss.elastic.co/t/system-cpu-total-pct-gauge-per-host-name/152501/1 "2018-10-15T13:41:02Z")

</div>

Hi,

I'm trying to create a gauge for each instance in my variable size stack which displays `system.cpu.total.pct`. The data all seems to be in (see below) but I don't seem to be able to get the aggregation right which I suspect is just poor understanding of how to aggregate across different records.

![24](https://us1.discourse-cdn.com/elastic/original/3X/5/d/5dd23d4168154c7957626684065caf9618d10d94.png)

What I'd like is for the number of gauges to expand automatically, but for now being able to see the 2 I have would be a start.

If someone can help me understand this single entity I think I'll be set for the remaining items I need to generate.

I'm sure this is trivial, so any help to get this up and running is vastly appreciated.

Regards,  
Keiran

Edit: Just to show what I have, I'd expect to see 2 gauges based on the data above:

![38](https://us1.discourse-cdn.com/elastic/original/3X/0/6/06a246e153a14d94dcbd7574f52c4b8c2829c291.png)

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [October 15, 2018, 10:37pm UTC](https://discuss.elastic.co/t/system-cpu-total-pct-gauge-per-host-name/152501/2 "2018-10-15T22:37:34Z")

</div>

It's really close, significant terms is a special aggregation that looks for uncommon results. You'll want to use the terms aggregation instead 🙂

---

<div class="post-metadata">

**Author:** ![keiranmraine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keiranmraine/32/36529_2.png) [@keiranmraine](https://discuss.elastic.co/u/keiranmraine)\
**Post date:** [October 16, 2018, 1:32am UTC](https://discuss.elastic.co/t/system-cpu-total-pct-gauge-per-host-name/152501/3 "2018-10-16T01:32:23Z")

</div>

Thanks, `host.name.keyword` wasn't displaying under terms. I didn't realise typing it would make it available.

---

<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:** [November 13, 2018, 1:32am UTC](https://discuss.elastic.co/t/system-cpu-total-pct-gauge-per-host-name/152501/4 "2018-11-13T01:32:25Z")

</div>

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