I'm working with metricbeat and system.cpu.*.pct - I would like to either
- graph all of them in a single area chart, or
- consider a scripted field to sum the non-idle ones and graph that figure.
I don't know how to do 1. and I've been unable to make scripted fields work. I've tried this:
-
click Add Scripted Field, enter mycustomfield in Name
-
Enter this in Script (just two values to test):
.doc['system.cpu.system.pct'].value + doc['system.cpu.user.pct'].value
-
Go hunting in Discover and Visualize for my field, in vain
Can anyone help me? Thanks,
Greg.