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

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

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

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

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

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